6#ifndef SWIFT_MISC_AUDIO_AUDIODEVICELIST_H
7#define SWIFT_MISC_AUDIO_AUDIODEVICELIST_H
21namespace swift::misc::audio
49 bool strict =
false)
const;
Generic ordered container with value semantics.
Value object encapsulating information identifying a component of a modular distributed swift process...
CSequence()=default
Default constructor.
Value object encapsulating information of a audio device.
Value object encapsulating a list of audio devices.
CAudioDeviceInfoList findByHostName(const QString &hostName) const
Find by host name.
static QList< QAudioDevice > allQtOutputDevices()
Lists of all available devices.
static QList< QAudioDevice > allQtInputDevices()
Lists of all available devices.
static CAudioDeviceInfoList allInputDevices()
Lists of all available devices.
CAudioDeviceInfoList getOutputDevices() const
Get output devices in that list.
QStringList getDeviceNames() const
All names.
CSequence()=default
Default constructor.
void registerDevice(const CAudioDeviceInfo &device)
Register device.
CAudioDeviceInfo findByNameOrDefault(const QString &name, const CAudioDeviceInfo &defaultDevice, bool strict=false) const
Find by name.
static CAudioDeviceInfoList allOutputDevices()
Lists of all available devices.
void unRegisterDevice(const CAudioDeviceInfo &device)
Un-register device.
static CAudioDeviceInfoList allDevices()
Lists of all available devices.
CAudioDeviceInfoList()=default
Default constructor.
int count(CAudioDeviceInfo::DeviceType type) const
Count (as of type).
static CAudioDeviceInfo defaultOutputDevice()
Lists of all available devices.
static CAudioDeviceInfo defaultInputDevice()
Lists of all available devices.
CAudioDeviceInfoList getInputDevices() const
Get output devices in that list.
bool hasSameDevices(const CAudioDeviceInfoList &compareDevices) const
Has same devices.
static QAudioDevice defaultQtOutputDevice()
Lists of all available devices.
void unRegisterDevices(const CAudioDeviceInfoList &devices)
Un-register devices.
CAudioDeviceInfo findRegisteredDeviceOrDefault(const CAudioDeviceInfo &device) const
Find registered device.
bool isRegisteredDevice(const CAudioDeviceInfo &device) const
Is that a registered device?
static QAudioDevice defaultQtInputDevice()
Lists of all available devices.
CAudioDeviceInfo findByName(const QString &name, bool strict=false) const
Find by name.
void registerDevices(const CAudioDeviceInfoList &devices)
Register devices.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.