We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1054

Summary: Bizarre loud sound played when doing Command-key combo on MacOS X 10.6.4
Product: SDL Reporter: Vern Jensen <vern>
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Mac OS X 10.6   

Description Vern Jensen 2010-09-17 12:19:17 UTC
I hate to report intermittent problems that aren't likely to be easy to duplicate, but this one is really wacky. I was adding the ability to push Command-Q to quit in my SDL 1.3 program when I ran across this one.

What happens is this: the *first* time you push Command-W (or any command-key combination) on MacOS X 10.6.4, after having just started an SDL 1.3 app, you sometimes hear a super-loud buzz sound -- the type of sound that might occur if the app were somehow writing into random memory where the sound output is. Then, every time you push it after that, it gives the (normal volume) "System beep" when you push that key combo again. You must restart the app to get it to misbehave once again.

I DID manage to get this same identical behavior by running a stock build of spritetest2. No modifications. BUT -- it was a lot harder to duplicate. I had to try it around 10 times, starting and quitting the app, before it did the behavior just once.

I then went into System Preferences and changed my Alert sound effect, to see if the bizarre sound might be a result of the "System beep" sound being played perhaps 100x (and mixed together to form a super-loud result), and yet, after changing the setting, I could not reproduce the behavior. It may just be a strange random fluke, I'm not sure.

-Vern
Comment 1 Sam Lantinga 2011-02-16 03:55:50 UTC
I fixed some weirdness in the graphics system that might have had some strange side effects.  Can you retry this with the latest snapshot?
http://www.libsdl.org/tmp/SDL-1.3.zip
Comment 2 Vern Jensen 2011-02-16 13:57:35 UTC
I haven't encountered this bizarre loud sound in some time, so I'm guessing it's fixed. Let's mark it as "resolved" for now, and if I ever encounter it again, I'll re-report it. :-)
Comment 3 Sam Lantinga 2011-02-16 14:19:58 UTC
Sounds good, thanks. :)