- Qt 6.4
- Qt Multimedia
- QML Types
- audioDevice
- Qt 6.4.2 Reference Documentation

# audioDevice QML Basic Type

Describes an audio device. More...

The audioDevice value type describes the properties of an audio device that is connected to the system.

The list of audio input or output devices can be queried from the MediaDevices type. To select a certain audio device for input or output set it as the device on AudioInput or AudioOutput.

     MediaPlayer {
         audioOutput: AudioOutput {
             device: mediaDevices.defaultAudioOutput
         }
     }
     MediaDevices {
         id: mediaDevices
     }