Hi, When I program a DSP audio device, I found something interesting. When no data in the buffer (CHXAudioStream), HXAudioSession still pushes fake PCMs down to audio device(::CheckToPlayMoreAudio). Those PCMs are generated by CHXAudioStream. Since DSP device has to buffer every encoded frame in a seperate queue, it is disturbing to receive ::Write() with extra PCMs. Although I made a workaround for that, I am wondering why HXAudioSession & CHXAudioStream are designed in that way. Could anyone kindly explain a little bit?
Thanks, Gang Shen _______________________________________________ Audio-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/audio-dev
