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

Audio doesn't work in release mode #10

Closed
linco95 opened this issue Feb 2, 2016 · 1 comment
Closed

Audio doesn't work in release mode #10

linco95 opened this issue Feb 2, 2016 · 1 comment

Comments

@linco95
Copy link
Owner

linco95 commented Feb 2, 2016

The audio doesn't work in release mode. Error messages says that the sound parameters is not loaded, use initialize().

Works perfectly in debug mode.

@linco95 linco95 closed this as completed Feb 2, 2016
@linco95
Copy link
Owner Author

linco95 commented Feb 2, 2016

SoundManager was loading the sounds in an assert statement. Assert statements doesn't get executed in release mode. Fixed by putting the result of the function in a bool, and checking that in the statement instead.

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

1 participant