Commit 2bc7a39a authored by Yoann Lopes's avatar Yoann Lopes
Browse files

CoreAudio: make sure audio stops playing when the device is muted.


The audio session's category was set to Playback, which implies that
audio is still audible even after setting the device to silent mode or
locking the screen. This shouldn't be the default behavior.
We now set it to Ambient, which preserves mixing with other apps
but makes sure sound is turned off when it should.

Task-number: QTBUG-39036
Change-Id: Ic36668d73f3179dc38b41023e380e15f8c8517e0
Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
parent a7d10a26
Showing with 3 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment