forked from liballeg/allegro5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue liballeg#1547 for shooter demo: Segfault after failed audio…
… subsystem installation on Linux. The segfault happened in the function calls `play_midi`, `al_stop_sample`, and `al_unlock_sample_id`, which have now been guarded by `if (al_is_audio_installed())`. Potentially move this check into the body of these functions?
- Loading branch information
Showing
2 changed files
with
44 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters