Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
-
Multimedia wk 49-50, Multimedia wk 51-2
Description
It's currently possible for the audio set a device that has been disconnected using the following steps:
- Load all audio-inputs using QMediaDevices::audioInputs()
- Store one of the devices in a variable
- Disconnect that device
- Pass the stored variable into QAudioInput
Currently we don't really handle what happens in this scenario. Since we have reconnect-recovery functionality already, I would argue we should accept this value but not activate the device until it is connected.
This change should also include a small change in the documentation to make it clear what happens to the user.