Public Member Functions | |
| Output () | |
| bool | initialize () |
| void | uninitialize () |
| bool | connect (Sound *sound, AudioUnitElement &elem) |
| bool | connect (ArkAudioUnit *au, AudioUnitElement &elem) |
| bool | disconnect (AudioUnitElement elem) |
Static Public Member Functions | |
| static OSStatus | SoundPlayerCallback (void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData) |
Private Attributes | |
| ArkAudioUnit * | output |
| ArkAudioUnit * | mixer |
| vector< int > | freePorts |
Static Private Attributes | |
| static unsigned | outputRate = 0 |
|
|
|
|
||||||||||||
|
connect Hackish method to connect the passed AudioUnit to any available mixer port.
|
|
||||||||||||
|
connect Hackish method to connect the passed sound to any available mixer port.
|
|
|
disconnect Disconnnects the mixer at port elem.
|
|
|
initialize Sets up the core audio system, by creating an output and mixer, attaching them, and taking note of available mixer ports.
|
|
||||||||||||||||||||||||||||
|
CoreAudioSoundPlayerCallback A core audio callback function to connect SoundPlayer instances to a core audio graph. |
|
|
uninitialize Uninitializes the core audio system setup in initialize().
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4