• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • MediaDeviceSelector
  • MediaDeviceSelector Class

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

    Header: #include <MediaDeviceSelector>
    Inherits: QWidget

    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.