Ref T739, functions to register devices (will be used by DBus/proxy)

This commit is contained in:
Klaus Basan
2019-10-10 20:11:04 +02:00
committed by Mat Sutcliffe
parent fdf4bf6b57
commit e109106102
4 changed files with 92 additions and 1 deletions

View File

@@ -55,6 +55,12 @@ namespace BlackMisc
//! Type
DeviceType getType() const { return m_type; }
//! Input device
bool isInputDevice() const { return this->getType() == InputDevice; }
//! Output device
bool isOutputDevice() const { return this->getType() == OutputDevice; }
//! Valid audio device object?
bool isValid() const { return !m_deviceName.isEmpty(); }