sipxmedialib
Version 3.3
|
Container for CoreAudio hardware device specific. More...
#include <MpCoreAudioHardware.h>
Public Member Functions | |
CoreAudioHardware (AudioDeviceID devid, bool isInput) | |
AudioDeviceID | getAudioDeviceID () const |
bool | IsInput () const |
bool | IsValid () const |
double | getActualSampleRate () const |
int | getLatency () const |
double | getSuitableSampleRateFor (double sr) |
int | getAvailableSampleRates (double *pBuff, const int bufLen) const |
bool | getStreamFormat (AudioStreamBasicDescription &desc) const |
bool | setStreamFormat (const AudioStreamBasicDescription &desc) |
unsigned | getBufferSize () const |
bool | setBufferSize (unsigned sr) |
Static Public Member Functions | |
static CoreAudioHardware | invalid () |
static CoreAudioHardware | fromDefaultOutput () |
static CoreAudioHardware | fromDefaultInput () |
static void | dumpAudioStreamBasicDescription (const char *header, const AudioStreamBasicDescription &desc) |
static bool | isEqualAudioStreamBasicDescription (const AudioStreamBasicDescription &desc, const AudioStreamBasicDescription &desc2) |
Protected Attributes | |
AudioDeviceID | mDevId |
Device handle. More... | |
bool | mIsInput |
Whether input or output operations. More... | |
Container for CoreAudio hardware device specific.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
protected |
Device handle.
|
protected |
Whether input or output operations.