I’ve setup an audio application based on the Standalone version of the juce wrapper, and I’m seeing some weird behaviour.
Each time I minimize/restore my application window, I got some quirks in the sound and the following line appear in the VC debugger.
closing dsound out: Primary Sound Driver
The thread ‘Win32 Thread’ (0x638) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x3d8) has exited with code 0 (0x0).
opening dsound out device: Primary Sound Driver rate=44100 bits=16 buf=960
’beat.exe’: Loaded ‘C:\WINNT\system32\SETUPAPI.DLL’, Cannot find or open a required DBG file.
‘beat.exe’: Loaded ‘C:\WINNT\system32\USERENV.DLL’, No symbols loaded.
‘beat.exe’: Unloaded ‘C:\WINNT\system32\SETUPAPI.DLL’
‘beat.exe’: Unloaded 'C:\WINNT\system32\USERENV.DLL’
opening dsound out step 2
opening dsound out step 3
It looks like Juce kinda close the audio device.
Weird thing is I still hear the audio playing when the application is minimized.
Did I miss something ?