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 - SDL waits indefinitely when it can not initialize sound
Summary: SDL waits indefinitely when it can not initialize sound
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: 1.2.11
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 13:32 UTC by nikos
Modified: 2007-07-03 03:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.