Commit 175bdda3 authored by Andy Nichols's avatar Andy Nichols Committed by The Qt Project
Browse files

CoreAudio: Set default audio category to Playback on iOS


This fixes the issue that when we use QSoundEffect we dont need to get
permission to use the microphone.  This was because we were defaulting
to PlayAndRecord.  Now we only switch to the PlayAndRecord category when
we try and use an input device.

[ChangeLog][QtMultimedia][iOS] Using QSoundEffect (or SoundEffect in
QML) no longer requires permission to use the microphone.

Change-Id: I94535215497a718005c280bfd84b428b4bf1b16a
Reviewed-by: default avatarYoann Lopes <yoann.lopes@digia.com>
parent b6b97436
Branches
Tags
No related merge requests found
Showing with 17 additions and 1 deletion
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