Having problems with initialising BASSASIO. I have 2 streams pluged into a mixer, and want the output of the mixer sent to channel 0 and 1 of the ASIO audio interface. All init functions return True, but still no audio. Suggestions?
iDeviceID = Integer = my audio device id
IMixer = Integer = my mixer handle
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero)
iMixer = BassMix.BASS_Mixer_StreamCreate(44100, 2, BASSFlag.BASS_SAMPLE_FLOAT)
_myAsioProc = New ASIOPROC(AddressOf AsioCallback)
BassAsio.BASS_ASIO_ChannelEnable(False, 0, _myAsioProc, New IntPtr(iMixer))
BassAsio.BASS_ASIO_ChannelJoin(False, 1, 0)
I plug in my streams like this:
pStream = Bass.BASS_StreamCreateFile("C:\Test.mp3", 0, 0, BASSFlag.BASS_STREAM_DECODE Or BASSFlag.BASS_SAMPLE_FLOAT)
BassMix.BASS_Mixer_StreamAddChannel(iMixer, pStream, BASSFlag.BASS_MIXER_PAUSE)
When i play/start the streams they won't play, they stay at position 0. Having no problems at all using the standard WDM driver (bass.dll)
Thank you for your time! Help is much appreciated!