Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abnormal program termination when a sound device is already in use #17

Closed
apoleon opened this issue Sep 9, 2013 · 2 comments
Closed

Comments

@apoleon
Copy link

apoleon commented Sep 9, 2013

This is Debian bug #722146. http://bugs.debian.org/722146

Berusky2 aborts with an assertion at start up when a sound device is already in use.

adas_Set_Last_Error(): Unable to open device.
berusky2: adas/adas.c:170: adas_Set_Last_Error: Assertion `0' failed.

The music player daemon (MPD) had exclusive access to the device. Please consider to make Berusky2 failing more gracefully if the sound device is already used by another application.

@stransky
Copy link
Owner

Thanks for the report. You can define NDEBUG macro and all asserts will be disabled. But I'm going to remove all asserts from the sound module anyway.

@stransky
Copy link
Owner

Fixed by commit fa0babe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants