ALmixer
0.0.5
|
Functions to query ALmixer. More...
Functions | |
ALint | ALmixer_IsActiveChannel (ALint which_channel) |
Returns true if the specified channel is currently playing or paused, or if -1 is passed the number of channels that are currently playing or paused. More... | |
ALint | ALmixer_IsActiveSource (ALuint al_source) |
Returns true if the specified source is currently playing or paused, or if -1 is passed the number of sources that are currently playing or paused. More... | |
ALint | ALmixer_IsPlayingChannel (ALint which_channel) |
Returns true if the specified channel is currently playing. More... | |
ALint | ALmixer_IsPlayingSource (ALuint al_source) |
Returns true if the specified sources is currently playing. More... | |
ALint | ALmixer_IsPausedChannel (ALint which_channel) |
Returns true if the specified channel is currently paused. More... | |
ALint | ALmixer_IsPausedSource (ALuint al_source) |
Returns true if the specified sources is currently paused. More... | |
ALuint | ALmixer_CountAllFreeChannels (void) |
Returns the number of channels that are currently available for playback (not playing, not paused). More... | |
ALuint | ALmixer_CountUnreservedFreeChannels (void) |
Returns the number of channels that are currently available for playback (not playing, not paused), excluding the channels that have been reserved. More... | |
ALuint | ALmixer_CountAllUsedChannels (void) |
Returns the number of channels that are currently in use (playing/paused). More... | |
ALuint | ALmixer_CountUnreservedUsedChannels (void) |
Returns the number of channels that are currently in use (playing/paused), excluding the channels that have been reserved. More... | |
ALuint | ALmixer_CountTotalChannels (void) |
Returns the number of allocated channels. More... | |
ALuint | ALmixer_CountReservedChannels (void) |
Returns the number of reserved channels. More... | |
ALboolean | ALmixer_IsDecoderAvailable (const char *usr_ext) |
Returns whether a decoder is available to decode the requested extension. More... | |
Functions to query ALmixer.
ALuint ALmixer_CountAllFreeChannels | ( | void | ) |
Returns the number of channels that are currently available for playback (not playing, not paused).
ALuint ALmixer_CountAllUsedChannels | ( | void | ) |
Returns the number of channels that are currently in use (playing/paused).
ALuint ALmixer_CountReservedChannels | ( | void | ) |
Returns the number of reserved channels.
This is just a convenience alias to ALmixer_ReserveChannels(-1).
ALuint ALmixer_CountTotalChannels | ( | void | ) |
Returns the number of allocated channels.
This is just a convenience alias to ALmixer_AllocateChannels(-1).
ALuint ALmixer_CountUnreservedFreeChannels | ( | void | ) |
Returns the number of channels that are currently available for playback (not playing, not paused), excluding the channels that have been reserved.
ALuint ALmixer_CountUnreservedUsedChannels | ( | void | ) |
Returns the number of channels that are currently in use (playing/paused), excluding the channels that have been reserved.
ALint ALmixer_IsActiveChannel | ( | ALint | which_channel | ) |
Returns true if the specified channel is currently playing or paused, or if -1 is passed the number of channels that are currently playing or paused.
which_channel | The channel you want to know about or -1 to get the count of currently playing/paused channels. |
ALint ALmixer_IsActiveSource | ( | ALuint | al_source | ) |
Returns true if the specified source is currently playing or paused, or if -1 is passed the number of sources that are currently playing or paused.
al_source | The channel you want to know about or -1 to get the count of currently playing/paused sources. |
ALboolean ALmixer_IsDecoderAvailable | ( | const char * | usr_ext | ) |
Returns whether a decoder is available to decode the requested extension.
usr_ext | A file extension like "mp3", "ogg", "wav", "mp4", etc. Do not include the . (dot). |
ALint ALmixer_IsPausedChannel | ( | ALint | which_channel | ) |
Returns true if the specified channel is currently paused.
or if -1 is passed the number of channels that are currently paused.
which_channel | The channel you want to know about or -1 to get the count of currently paused channels. |
ALint ALmixer_IsPausedSource | ( | ALuint | al_source | ) |
Returns true if the specified sources is currently paused.
or if -1 is passed the number of sources that are currently paused.
al_source | The source you want to know about or -1 to get the count of currently paused sources. |
ALint ALmixer_IsPlayingChannel | ( | ALint | which_channel | ) |
Returns true if the specified channel is currently playing.
or if -1 is passed the number of channels that are currently playing.
which_channel | The channel you want to know about or -1 to get the count of currently playing channels. |
ALint ALmixer_IsPlayingSource | ( | ALuint | al_source | ) |
Returns true if the specified sources is currently playing.
or if -1 is passed the number of sources that are currently playing.
al_source | The sources you want to know about or -1 to get the count of currently playing sources. |