Function |
Description |
---|
BufferPlayer() |
Returns a pointer to the buffer player function |
Cookie() |
Returns the cookie |
CurrentTime() |
Returns the current media time |
EventNotifier() |
Returns a pointer to the notification handler function |
Format() |
Returns the BSoundPlayer's format |
GetVolumeInfo() |
Returns information about the BSoundPlayer's volume control |
HasData() |
Reports whether or not there's sound queued for playback |
InitCheck() |
Indicates the result of the constructor |
IsPlaying() |
Checks to see if a particular sound is playing |
Latency() |
Returns the BSoundPlayer's latency |
PerformanceTime() |
Returns the current performance time |
SetBufferPlayer() |
Sets the buffer player function |
SetCallbacks() |
Sets the callbacks and the cookie at once, atomically |
SetCookie() |
Sets the cookie |
SetEventNotifier() |
Sets the notification handler function |
SetHasData() |
Specifies whether or not there's sound scheduled for playback |
SetInitError() |
Sets the value returned by InitCheck() |
SetSoundVolume() |
Sets the volume of a specific sound |
SetVolume() |
Sets the BSoundPlayer's volume as a percentage from 0.0 to 1.0 |
SetVolumeDB() |
Sets the BSoundPlayer's volume in decibels |
BSoundPlayer() |
Constructor |
~BSoundPlayer() |
Destructor |
Start() |
Activates the BSoundPlayer |
StartPlaying() |
Starts playing a sound |
Stop() |
Deactivates the BSoundPlayer |
StopPlaying() |
Stops a sound that's already playing |
Volume() |
Returns the BSoundPlayer's volume as a percentage from 0.0 to 1.0 |
VolumeDB() |
Returns the BSoundPlayer's volume in decibels |
WaitForSound() |
Waits for a particular sound to finish playing |