33 inline constexpr AudioDeviceType operator|(
const AudioDeviceType& lhs,
const AudioDeviceType& rhs)
35 return (AudioDeviceType)((uint8_t)lhs | (uint8_t)rhs);
38 inline constexpr AudioDeviceType& operator|=(AudioDeviceType& lhs,
const AudioDeviceType& rhs)
44 inline constexpr AudioDeviceType operator&(
const AudioDeviceType& lhs,
const AudioDeviceType& rhs)
46 return (AudioDeviceType)((uint8_t)lhs & (uint8_t)rhs);
49 inline constexpr AudioDeviceType& operator&=(AudioDeviceType& lhs,
const AudioDeviceType& rhs)
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:124
stores information about an audio device.
Definition AudioDevice.h:60
AudioDeviceType type
Definition AudioDevice.h:77
std::string name
Definition AudioDevice.h:71
std::string id
Definition AudioDevice.h:65
bool isDefault
Definition AudioDevice.h:83