-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Android Oboe audio error recovery mode. (#940)
Context: #931 There is a new settings "audio.oboe.error-recovery-mode" which has string value of "Reconnect" (default) or "Stop". Under `Reconnect` mode, it automatically recreate AudioStream for the same audio device ID (which is the default = valid device, unless a specific ID is specified). The behavior is the same as OpenSLES. In the future Fluidsynth might want to provide consistent error handling mode for audio device unplugged state, but so far this change makes apps behave not too weird.
- Loading branch information
1 parent
fc21d28
commit 4240d31
Showing
2 changed files
with
113 additions
and
41 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