Hi,Ian
Im trying to get data from ASIO input
here is my code:
g_hw_input_bass_chan[0] = BASS_StreamCreate(48000, 1, BASS_SAMPLE_FLOAT | BASS_STREAM_DECODE, STREAMPROC_PUSH,0);
if(g_hw_input_bass_chan[0]==0){
IDebug << "BASS_StreamCreate failed" << BASS_ErrorGetCode();
return;
}
if (!BASS_ASIO_ChannelEnableBASS(TRUE, 0, g_hw_input_bass_chan[0], TRUE)) { // i tried 0/1 channels,join or not join, not work
IDebug <<"Can't enable ASIO channels" << BASS_ErrorGetCode() << BASS_ASIO_ErrorGetCode();
}
if(!BASS_ChannelSetDSP(g_hw_input_bass_chan[0], &MIC_DSP, 0, 1)){
ERRTRACE
IDebug << "BASS_ChannelSetDSP" << BASS_ErrorGetCode();
}
No error happened
but MIC_DSP never called
Best regards
Ziyun