#include <CoreAudioDevice.h>
|
static OSStatus | defaultOutputDeviceChanged (AudioObjectID inObjectID, UInt32 inNumberAddresses, const AudioObjectPropertyAddress inAddresses[], void *inClientData) |
|
◆ CCoreAudioDevice() [1/2]
CCoreAudioDevice::CCoreAudioDevice |
( |
| ) |
|
◆ CCoreAudioDevice() [2/2]
CCoreAudioDevice::CCoreAudioDevice |
( |
AudioDeviceID |
deviceId | ) |
|
|
explicit |
◆ ~CCoreAudioDevice()
CCoreAudioDevice::~CCoreAudioDevice |
( |
| ) |
|
|
virtual |
◆ AddIOProc()
bool CCoreAudioDevice::AddIOProc |
( |
AudioDeviceIOProc |
ioProc, |
|
|
void * |
pCallbackData |
|
) |
| |
◆ Close()
void CCoreAudioDevice::Close |
( |
| ) |
|
◆ defaultOutputDeviceChanged()
OSStatus CCoreAudioDevice::defaultOutputDeviceChanged |
( |
AudioObjectID |
inObjectID, |
|
|
UInt32 |
inNumberAddresses, |
|
|
const AudioObjectPropertyAddress |
inAddresses[], |
|
|
void * |
inClientData |
|
) |
| |
|
staticprotected |
◆ GetBufferSize()
UInt32 CCoreAudioDevice::GetBufferSize |
( |
| ) |
|
◆ GetCurrentDataSourceName()
std::string CCoreAudioDevice::GetCurrentDataSourceName |
( |
| ) |
const |
◆ GetDataSource()
bool CCoreAudioDevice::GetDataSource |
( |
UInt32 & |
dataSourceId | ) |
const |
◆ GetDataSourceName()
std::string CCoreAudioDevice::GetDataSourceName |
( |
UInt32 |
dataSourceId | ) |
const |
◆ GetDataSources()
◆ GetHogStatus()
pid_t CCoreAudioDevice::GetHogStatus |
( |
| ) |
|
◆ GetId()
AudioDeviceID CCoreAudioDevice::GetId |
( |
| ) |
const |
|
inline |
◆ GetMixingSupport()
bool CCoreAudioDevice::GetMixingSupport |
( |
| ) |
|
◆ GetName()
std::string CCoreAudioDevice::GetName |
( |
| ) |
const |
◆ GetNominalSampleRate()
Float64 CCoreAudioDevice::GetNominalSampleRate |
( |
| ) |
|
◆ GetNumChannelsOfStream()
UInt32 CCoreAudioDevice::GetNumChannelsOfStream |
( |
UInt32 |
streamIdx | ) |
const |
◆ GetNumLatencyFrames()
UInt32 CCoreAudioDevice::GetNumLatencyFrames |
( |
| ) |
|
◆ GetPreferredChannelLayout()
◆ GetPreferredChannelLayoutForStereo()
◆ GetStreams()
◆ GetTotalOutputChannels()
UInt32 CCoreAudioDevice::GetTotalOutputChannels |
( |
| ) |
const |
◆ GetTransportType()
UInt32 CCoreAudioDevice::GetTransportType |
( |
| ) |
const |
◆ IsDigital()
bool CCoreAudioDevice::IsDigital |
( |
| ) |
const |
◆ IsRunning()
bool CCoreAudioDevice::IsRunning |
( |
| ) |
|
◆ Open()
bool CCoreAudioDevice::Open |
( |
AudioDeviceID |
deviceId | ) |
|
◆ RegisterDefaultOutputDeviceChangedCB()
void CCoreAudioDevice::RegisterDefaultOutputDeviceChangedCB |
( |
bool |
bRegister, |
|
|
AudioObjectPropertyListenerProc |
callback, |
|
|
void * |
ref |
|
) |
| |
|
static |
◆ RegisterDeviceChangedCB()
void CCoreAudioDevice::RegisterDeviceChangedCB |
( |
bool |
bRegister, |
|
|
AudioObjectPropertyListenerProc |
callback, |
|
|
void * |
ref |
|
) |
| |
|
static |
◆ RemoveIOProc()
bool CCoreAudioDevice::RemoveIOProc |
( |
| ) |
|
◆ RemoveObjectListenerProc()
void CCoreAudioDevice::RemoveObjectListenerProc |
( |
AudioObjectPropertyListenerProc |
callback, |
|
|
void * |
pClientData |
|
) |
| |
◆ SetBufferSize()
bool CCoreAudioDevice::SetBufferSize |
( |
UInt32 |
size | ) |
|
◆ SetCurrentVolume()
bool CCoreAudioDevice::SetCurrentVolume |
( |
Float32 |
vol | ) |
|
◆ SetDataSource()
bool CCoreAudioDevice::SetDataSource |
( |
UInt32 & |
dataSourceId | ) |
|
◆ SetHogStatus()
bool CCoreAudioDevice::SetHogStatus |
( |
bool |
hog | ) |
|
◆ SetMixingSupport()
bool CCoreAudioDevice::SetMixingSupport |
( |
UInt32 |
mix | ) |
|
◆ SetNominalSampleRate()
bool CCoreAudioDevice::SetNominalSampleRate |
( |
Float64 |
sampleRate | ) |
|
◆ SetObjectListenerProc()
bool CCoreAudioDevice::SetObjectListenerProc |
( |
AudioObjectPropertyListenerProc |
callback, |
|
|
void * |
pClientData |
|
) |
| |
◆ Start()
void CCoreAudioDevice::Start |
( |
| ) |
|
◆ Stop()
void CCoreAudioDevice::Stop |
( |
| ) |
|
◆ SuppressDefaultOutputDeviceCB()
static void CCoreAudioDevice::SuppressDefaultOutputDeviceCB |
( |
unsigned int |
suppressTimeMs | ) |
|
|
inlinestatic |
◆ m_BufferSizeRestore
unsigned int CCoreAudioDevice::m_BufferSizeRestore |
|
protected |
◆ m_callbackSuppressTimer
◆ m_defaultOutputDeviceChangedCB
AudioObjectPropertyListenerProc CCoreAudioDevice::m_defaultOutputDeviceChangedCB = NULL |
|
staticprotected |
◆ m_DeviceId
AudioDeviceID CCoreAudioDevice::m_DeviceId |
|
protected |
◆ m_frameSize
unsigned int CCoreAudioDevice::m_frameSize |
|
protected |
◆ m_HogPid
pid_t CCoreAudioDevice::m_HogPid |
|
protected |
◆ m_IoProc
AudioDeviceIOProc CCoreAudioDevice::m_IoProc |
|
protected |
◆ m_MixerRestore
int CCoreAudioDevice::m_MixerRestore |
|
protected |
◆ m_ObjectListenerProc
AudioObjectPropertyListenerProc CCoreAudioDevice::m_ObjectListenerProc |
|
protected |
◆ m_OutputBufferIndex
unsigned int CCoreAudioDevice::m_OutputBufferIndex |
|
protected |
◆ m_SampleRateRestore
Float64 CCoreAudioDevice::m_SampleRateRestore |
|
protected |
◆ m_Started
bool CCoreAudioDevice::m_Started |
|
protected |
The documentation for this class was generated from the following files: