summaryrefslogtreecommitdiffstats
path: root/examples/multimedia
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2020-04-28 13:18:52 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-06-09 12:49:05 +0000
commit956fbd3f352f8bba5b8bf985b1787fc7b71aff24 (patch)
tree7842addafa71b08282c5346c1c80c4fe379cbda2 /examples/multimedia
parent099bddad51d0924a3f1c8a4271754e5cc3d964a7 (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. Fixes: QTBUG-83776 Change-Id: I9364bdea2882bc23039817207eca62b311841ba6 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit b5a55492a63cb2cda75d6f980acb7fc5ae8dfc22) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/multimedia')
0 files changed, 0 insertions, 0 deletions