I use the example sound program, with system outs enabled.
First I run the program until it writes: Test Complete
Then I start minimizing it, then maximize it, and does this with some seconds delay.
What should happen is: NOTHING
What happens is : the sounds start playing again, or become shut up.
Conclusion: minimizing and maximizing the app, can enable or disable sound nodes in a random manner.
Output follows:
C:\Program Files\j2sdk1.4.1_02\demo\java3d\Sound>java SimpleSounds
****Enable First Sound
********Enable Second Sound
************Enable Third Sound
************Disable Third Sound
************Enable Third Sound
************Disable Third Sound
************Enable Third Sound
************Disable Third Sound
************Enable Third Sound
************Disable Third Sound
************Enable Third Sound
********Disable Second Sound
****Disable First Sound
Test Complete
I use OpenGL, AMD 900MHZ, Soundblaster 1024 Live, 1Gb RAM.
BTW. We have this problem in our app too. So it is not only a problem in the example program.
Please respond to this post, anyone who can reproduce this bug.
Thanks
Nikolai