-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SOUND: Don't error out when no working sound device was found
Instead, try to act normal and just don't play anything. Note: There's currently no way to check if a sound naturally ended when in no sound mode. isPlaying() will always return true for a valid handle, unless it is forcibly stopped with stopChannel() or stopAll(). Code that waits for a sound to finish playing will enter an endless loop.
- Loading branch information
Showing
2 changed files
with
90 additions
and
49 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