HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
AudioDevice.h File Reference
#include "HephAudioShared.h"
#include <string>
#include <cinttypes>

Go to the source code of this file.

Classes

struct  HephAudio::AudioDevice
 stores information about an audio device. More...
 

Enumerations

enum  HephAudio::AudioDeviceType { Null = 0 , HephAudio::Render = 1 , HephAudio::Capture = 2 , HephAudio::All = Render | Capture }
 

Functions

constexpr AudioDeviceType HephAudio::operator| (const AudioDeviceType &lhs, const AudioDeviceType &rhs)
 
constexpr AudioDeviceTypeHephAudio::operator|= (AudioDeviceType &lhs, const AudioDeviceType &rhs)
 
constexpr AudioDeviceType HephAudio::operator& (const AudioDeviceType &lhs, const AudioDeviceType &rhs)
 
constexpr AudioDeviceTypeHephAudio::operator&= (AudioDeviceType &lhs, const AudioDeviceType &rhs)
 
constexpr AudioDeviceType HephAudio::operator^ (const AudioDeviceType &lhs, const AudioDeviceType &rhs)
 
constexpr AudioDeviceTypeHephAudio::operator^= (AudioDeviceType &lhs, const AudioDeviceType &rhs)
 
constexpr AudioDeviceType HephAudio::operator~ (const AudioDeviceType &lhs)
 

Enumeration Type Documentation

◆ AudioDeviceType

Enumerator
Render 

indicates the audio device is capable of rendering (playing) audio data.

Capture 

indicates the device is capable of capturing (recording) audio data.

All 

indicates the device is capable of both rendering and capturing audio data.