Audio is heard when AudioHandler is activated
Posted: Fri Jul 30, 2021 7:34 am
I came across the following strange problem.
I overrided AudioHandler (I returning "true" from GetAudioParameters and catching buffer in OnAudioStreamPacket).
My application working in Offsreen mode.
When I start application, for a small moment sound is heard in my speaker (maybe 500ms - 1 seconds), then sound is hidden, and all work as expected.
What could be the problem? It seems what CEF does not have time to intercept begin of the sound.
I overrided AudioHandler (I returning "true" from GetAudioParameters and catching buffer in OnAudioStreamPacket).
My application working in Offsreen mode.
When I start application, for a small moment sound is heard in my speaker (maybe 500ms - 1 seconds), then sound is hidden, and all work as expected.
What could be the problem? It seems what CEF does not have time to intercept begin of the sound.