aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-13 10:15:10 -0800
committerChris Robinson <[email protected]>2023-12-13 10:15:10 -0800
commit70b3776032adf05a92fda89ac5f56eb705d06748 (patch)
tree319d3c26d5c0add87c2a8ad0c811a83171cdafbd /examples
parentb81a270f6c1e795ca70d7684e0ccf35a19f247e2 (diff)
Don't fail alcDevicePauseSOFT for disconnected devices
The device playback is stopped so the function doesn't technically fail. This primarily just allows the device state to be flagged as paused for a subsequent reset or reopen, which covers a potential issue where a device is disconnected, the app pauses it due to something like an incoming call or being put into the background, then successfully resets or reopens the device before playback should resume. Without this, the device will (try to) start immediately upon being reset or reopened, which would either fail (and disconnect again) or start playing again prematurely before it can be stopped.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions