Author Topic: DSD and WASAPI in Delphi (windows)  (Read 170 times)

pwatel

  • Posts: 59
DSD and WASAPI in Delphi (windows)
« on: 20 Aug '17 - 08:22 »
Hello,
I tried to add DSF format to my stuff, it works fine in direct sound, but in WASAPI  I get   
BASS_ERROR_NOTAVAIL     = 37;   // requested data is not available
and I use the BASS_SAMPLE_SOFTWARE as requested

All the other formats work fine in my architecture
I use
          oStreamID := BASS_DSD_StreamCreateFile(False, aPFilename,
            0, 0, BASS_UNICODE  or BASS_SAMPLE_SOFTWARE or BASS_SAMPLE_FLOAT, 0);

I am missing something
may be some bass init has to be modified for wasapi output, of bass does not support it?

Thank you

pwatel

  • Posts: 59
Re: DSD and WASAPI in Delphi (windows)
« Reply #1 on: 20 Aug '17 - 12:40 »
My bad
I have forgotten all these the option
BASS_STREAM_DECODE or BASS_UNICODE or BASS_SAMPLE_FLOAT or BASS_SAMPLE_SOFTWARE;
It plays fine