diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-04-28 13:18:52 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-06-09 09:31:38 +0000 |
commit | b5a55492a63cb2cda75d6f980acb7fc5ae8dfc22 (patch) | |
tree | c07352711f1e6344a3c6fbba1ca8caa655b0c8f8 /src/multimediawidgets | |
parent | 19cc3a018f2442221d566ec56bda2bdbdce7ec2e (diff) |
CoreAudio: Don't apply audio category if it is not needed
If just devices are requested, no need to apply any categories
with activation of audio device.
Postpone setting category and activating audio until
actual playing is requested.
Categories/options for input devices:
AVAudioSessionCategoryPlayAndRecord with AVAudioSessionCategoryOptionMixWithOthers
For output:
AVAudioSessionCategoryAmbient with no options.
Pick-to: 5.15
Fixes: QTBUG-83776
Change-Id: I9364bdea2882bc23039817207eca62b311841ba6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/multimediawidgets')
0 files changed, 0 insertions, 0 deletions