There is a pretty bad bug in the JUCE WASAPI implementation which causes audio streaming to stop working whenever the audio buffer size is changed from the audio devices dialog.
This can be readily reproduced in the JUCE demo itself.
- Open the Settings page and press the test button to ensure that you can hear audio.
- Select a different buffer size from the audio buffer size drop down.
- Press the test button again
After step 2 audio playback is broken.
To make it work again you have to select a different input or output and then it seems to reset itself. It seems like the device manager internal state is getting messed up when the buffer size is changed.
It would be great if this could be fixed since we expose the device settings dialog from our app.
Configuration as below if you need it:
Audio device diagnostics: