|
Torque2D Reference
|
Classes | |
| struct | BG_FileInfo |
Public Types | |
| enum | { kQueueState_DoNothing = 0, kQueueState_ResizeBuffer = 1, kQueueState_NeedNewCookie = 2, kQueueState_NeedNewBuffers = 3, kQueueState_NeedNewQueue = 4 } |
| typedef struct SoundEngine::BackgroundTrackMgr::BG_FileInfo | BackgroundMusicFileInfo |
Instance Methods | |
| () | - BackgroundTrackMgr |
| () | - ~BackgroundTrackMgr |
| (void) | - Teardown |
| (AudioStreamPacketDescription *) | - GetPacketDescsPtr |
| (UInt32) | - GetNumPacketsToRead |
| (OSStatus) | - SetupQueue |
| (OSStatus) | - SetupBuffers |
| (OSStatus) | - LoadTrack |
| (OSStatus) | - UpdateGain |
| (OSStatus) | - SetVolume |
| (OSStatus) | - Start |
| (OSStatus) | - Stop |
Class Methods | |
| (static OSStatus) | + AttachNewCookie |
| (static void) | + QueueStoppedProc |
| (static Boolean) | + DisposeBuffer |
| (static SInt8) | + GetQueueStateForNextBuffer |
| (static void) | + QueueCallback |
| - (typedef struct) BackgroundTrackMgr: |
| - (anonymous) enum |
| + (static OSStatus) AttachNewCookie | (AudioQueueRef) | inQueue | |
| (BackgroundTrackMgr::BG_FileInfo *) | inFileInfo | ||
| + (static Boolean) DisposeBuffer | (AudioQueueRef) | inAQ | |
| (std::vector< AudioQueueBufferRef >) | inDisposeBufferList | ||
| (AudioQueueBufferRef) | inBufferToDispose | ||
| - (UInt32) GetNumPacketsToRead | (BackgroundTrackMgr::BG_FileInfo *) | inFileInfo |
| - (AudioStreamPacketDescription*) GetPacketDescsPtr |
| + (static SInt8) GetQueueStateForNextBuffer | (BackgroundTrackMgr::BG_FileInfo *) | inFileInfo | |
| (BackgroundTrackMgr::BG_FileInfo *) | inNextFileInfo | ||
| - (OSStatus) LoadTrack | (const char *) | inFilePath | |
| (Boolean) | inAddToQueue | ||
| (Boolean) | inLoadAtOnce | ||
| + (static void) QueueCallback | (void *) | inUserData | |
| (AudioQueueRef) | inAQ | ||
| (AudioQueueBufferRef) | inCompleteAQBuffer | ||
| + (static void) QueueStoppedProc | (void *) | inUserData | |
| (AudioQueueRef) | inAQ | ||
| (AudioQueuePropertyID) | inID | ||
| - (OSStatus) SetupBuffers | (BG_FileInfo *) | inFileInfo |
| - (OSStatus) SetupQueue | (BG_FileInfo *) | inFileInfo |
| - (OSStatus) SetVolume | (Float32) | inVolume |
| - (OSStatus) Start |
| - (OSStatus) Stop | (Boolean) | inStopAtEnd |
| - (void) Teardown |
| - (OSStatus) UpdateGain |
1.8.10