doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
idAudioHardwareOSX Class Reference
Inheritance diagram for idAudioHardwareOSX:
idAudioHardware

Public Member Functions

 idAudioHardwareOSX ()
 
 ~idAudioHardwareOSX ()
 
bool Initialize ()
 
bool Lock (void **pDSLockedBuffer, ulong *dwDSLockedBufferSize)
 
bool Unlock (void *pDSLockedBuffer, dword dwDSLockedBufferSize)
 
bool GetCurrentPosition (ulong *pdwCurrentWriteCursor)
 
int GetMixBufferSize (void)
 
int GetNumberOfSpeakers (void)
 
bool Flush (void)
 
void Write (bool)
 
short * GetMixBuffer (void)
 
- Public Member Functions inherited from idAudioHardware
virtual ~idAudioHardware ()
 

Private Member Functions

void Reset (void)
 
void InitFailed (void)
 
const char * ExtractStatus (OSStatus status)
 
void GetAvailableNominalSampleRates (void)
 

Static Private Member Functions

static OSStatus DeviceListener (AudioDeviceID inDevice, UInt32 inChannel, Boolean isInput, AudioDevicePropertyID inPropertyID, void *inClientData)
 
static OSStatus DeviceIOProc (AudioDeviceID inDevice, const AudioTimeStamp *inNow, const AudioBufferList *inInputData, const AudioTimeStamp *inInputTime, AudioBufferList *outOutputData, const AudioTimeStamp *inOutputTime, void *inClientData)
 

Private Attributes

AudioDeviceID selectedDevice
 
bool activeIOProc
 

Additional Inherited Members

- Static Public Member Functions inherited from idAudioHardware
static idAudioHardwareAlloc ()
 

Detailed Description

Definition at line 37 of file macosx_sound.cpp.

Constructor & Destructor Documentation

idAudioHardwareOSX::idAudioHardwareOSX ( )

Definition at line 102 of file macosx_sound.cpp.

idAudioHardwareOSX::~idAudioHardwareOSX ( )

Definition at line 112 of file macosx_sound.cpp.

Member Function Documentation

OSStatus idAudioHardwareOSX::DeviceIOProc ( AudioDeviceID  inDevice,
const AudioTimeStamp *  inNow,
const AudioBufferList *  inInputData,
const AudioTimeStamp *  inInputTime,
AudioBufferList *  outOutputData,
const AudioTimeStamp *  inOutputTime,
void inClientData 
)
staticprivate

Definition at line 170 of file macosx_sound.cpp.

OSStatus idAudioHardwareOSX::DeviceListener ( AudioDeviceID  inDevice,
UInt32  inChannel,
Boolean  isInput,
AudioDevicePropertyID  inPropertyID,
void inClientData 
)
staticprivate

Definition at line 156 of file macosx_sound.cpp.

const char * idAudioHardwareOSX::ExtractStatus ( OSStatus  status)
private

Definition at line 194 of file macosx_sound.cpp.

bool idAudioHardwareOSX::Flush ( void  )
inlinevirtual

Implements idAudioHardware.

Definition at line 53 of file macosx_sound.cpp.

void idAudioHardwareOSX::GetAvailableNominalSampleRates ( void  )
private

Definition at line 396 of file macosx_sound.cpp.

bool idAudioHardwareOSX::GetCurrentPosition ( ulong pdwCurrentWriteCursor)
inlinevirtual

Implements idAudioHardware.

Definition at line 47 of file macosx_sound.cpp.

short* idAudioHardwareOSX::GetMixBuffer ( void  )
inlinevirtual

Implements idAudioHardware.

Definition at line 55 of file macosx_sound.cpp.

int idAudioHardwareOSX::GetMixBufferSize ( void  )
inlinevirtual

Implements idAudioHardware.

Definition at line 48 of file macosx_sound.cpp.

int idAudioHardwareOSX::GetNumberOfSpeakers ( void  )
virtual

Implements idAudioHardware.

Definition at line 431 of file macosx_sound.cpp.

void idAudioHardwareOSX::InitFailed ( void  )
private

Definition at line 144 of file macosx_sound.cpp.

bool idAudioHardwareOSX::Initialize ( void  )
virtual

Implements idAudioHardware.

Definition at line 206 of file macosx_sound.cpp.

bool idAudioHardwareOSX::Lock ( void **  pDSLockedBuffer,
ulong dwDSLockedBufferSize 
)
inlinevirtual

Implements idAudioHardware.

Definition at line 45 of file macosx_sound.cpp.

void idAudioHardwareOSX::Reset ( void  )
private

Definition at line 121 of file macosx_sound.cpp.

bool idAudioHardwareOSX::Unlock ( void pDSLockedBuffer,
dword  dwDSLockedBufferSize 
)
inlinevirtual

Implements idAudioHardware.

Definition at line 46 of file macosx_sound.cpp.

void idAudioHardwareOSX::Write ( bool  )
inlinevirtual

Implements idAudioHardware.

Definition at line 54 of file macosx_sound.cpp.

Member Data Documentation

bool idAudioHardwareOSX::activeIOProc
private

Definition at line 59 of file macosx_sound.cpp.

AudioDeviceID idAudioHardwareOSX::selectedDevice
private

Definition at line 58 of file macosx_sound.cpp.


The documentation for this class was generated from the following file: