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 305

Summary: SDL waits indefinitely when it can not initialize sound
Product: SDL Reporter: nikos
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.11   
Hardware: x86   
OS: Linux   

Description nikos 2006-08-22 13:32:24 UTC
If SDL can not initialize sound, it should return a failure code or ignore sound, instead of waiting indefinitely.
You will find more informations about this problem on this page: https://gna.org/bugs/?func=detailitem&item_id=6502
Comment 1 Sam Lantinga 2006-09-24 12:04:30 UTC
Can you debug it to find out exactly what function is causing the hang?  Often the hang is in initializing some audio daemon that isn't responding and the libraries we're using (alsa, esound, etc.) don't have any way of detecting the problem.
Comment 2 Ryan C. Gordon 2007-07-03 03:11:49 UTC
My belief is that this was an ALSA bug, not an SDL bug. Please reopen this bug report if you feel this is incorrect.

Thanks,
--ryan.