33 constexpr AudioDeviceType operator|(
const AudioDeviceType& lhs,
const AudioDeviceType& rhs)
35 return (AudioDeviceType)((uint8_t)lhs | (uint8_t)rhs);
38 constexpr AudioDeviceType& operator|=(AudioDeviceType& lhs,
const AudioDeviceType& rhs)
44 constexpr AudioDeviceType operator&(
const AudioDeviceType& lhs,
const AudioDeviceType& rhs)
46 return (AudioDeviceType)((uint8_t)lhs & (uint8_t)rhs);
49 constexpr AudioDeviceType& operator&=(AudioDeviceType& lhs,
const AudioDeviceType& rhs)
55 constexpr AudioDeviceType operator^(
const AudioDeviceType& lhs,
const AudioDeviceType& rhs)
57 return (AudioDeviceType)((uint8_t)lhs ^ (uint8_t)rhs);
60 constexpr AudioDeviceType& operator^=(AudioDeviceType& lhs,
const AudioDeviceType& rhs)
68 return (AudioDeviceType)(~(uint8_t)lhs);
AudioDeviceType
Definition AudioDevice.h:11
@ Capture
Definition AudioDevice.h:24
@ All
Definition AudioDevice.h:30
@ Render
Definition AudioDevice.h:18
#define HEPH_API
Definition HephShared.h:132
stores information about an audio device.
Definition AudioDevice.h:76
AudioDeviceType type
Definition AudioDevice.h:93
std::string name
Definition AudioDevice.h:87
std::string id
Definition AudioDevice.h:81
bool isDefault
Definition AudioDevice.h:99