xbmc
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
CCoreAudioStream Class Reference
Collaboration diagram for CCoreAudioStream:
Collaboration graph
[legend]

Public Member Functions

bool Open (AudioStreamID streamId)
 
void Close (bool restore=true)
 
AudioStreamID GetId () const
 
UInt32 GetDirection ()
 
UInt32 GetNumLatencyFrames ()
 
bool GetVirtualFormat (AudioStreamBasicDescription *pDesc)
 
bool GetPhysicalFormat (AudioStreamBasicDescription *pDesc)
 
bool SetVirtualFormat (AudioStreamBasicDescription *pDesc)
 
bool SetPhysicalFormat (AudioStreamBasicDescription *pDesc)
 
bool GetAvailableVirtualFormats (StreamFormatList *pList)
 
bool GetAvailablePhysicalFormats (StreamFormatList *pList)
 

Static Public Member Functions

static UInt32 GetTerminalType (AudioStreamID id)
 
static bool GetAvailableVirtualFormats (AudioStreamID id, StreamFormatList *pList)
 
static bool GetAvailablePhysicalFormats (AudioStreamID id, StreamFormatList *pList)
 
static bool IsDigitalOutput (AudioStreamID id)
 
static bool GetStartingChannelInDevice (AudioStreamID id, UInt32 &startingChannel)
 

Static Protected Member Functions

static OSStatus HardwareStreamListener (AudioObjectID inObjectID, UInt32 inNumberAddresses, const AudioObjectPropertyAddress inAddresses[], void *inClientData)
 

Protected Attributes

CEvent m_virtual_format_event
 
CEvent m_physical_format_event
 
AudioStreamID m_StreamId = 0
 
AudioStreamBasicDescription m_OriginalVirtualFormat
 
AudioStreamBasicDescription m_OriginalPhysicalFormat
 

Member Function Documentation

◆ Close()

void CCoreAudioStream::Close ( bool  restore = true)
Todo:
Should it even be possible to change both the physical and virtual formats, since the devices do it themselves?

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