MediaDeviceSelector

A combo box that selects one audio input or output device.

Declared in src/libs/libmediacore/mediacore/ui/MediaDeviceSelector.hpp
Inherits QWidget
Group mediacore

Detailed description

MediaDeviceSelector lists the audio devices that the shared media::devices::DeviceManager reports, filtered to inputs, outputs or both. With both, each entry has an [In] or [Out] prefix. An optional role label above the combo box names what the device is for, for example "Banter microphone".

The list refreshes when the device manager reports a hot-plug change, and it keeps the current selection when that device is still present. A settings panel embeds the widget and connects selectedDeviceChanged() to apply the user's choice.

In this section