Mix_Chunk*.
Mix_Chunk*.
this.
int loops | -1 loops will play forever. 0 plays once. |
int channel | -1 loops will choose the first free unreserved channel. |
int maxTicks | Maximum milliseconds to play this sound. If not enough loops or the sample chunk is not long enough, then the sample may stop before this timeout occurs. -1 means play forever. |
int ms | Milliseconds for the fade-in effect to complete. |
int loops | -1 loops will play forever. 0 plays once. |
int channel | -1 loops will choose the first free unreserved channel. |
int maxTicks | Maximum milliseconds to play this sound. If not enough loops or the sample chunk is not long enough, then the sample may stop before this timeout occurs. -1 means play forever. |
int channel | Channel to stop playing, or -1 for all channels. |
int channel | Channel to stop playing, or -1 for all channels. |
int channel | Channel to stop playing, or -1 for all channels. |
int channel | -1 for all channels. |
float value | volume between 0.0 and 1.0. |
int channel | -1 for all channels. |
int channel | -1 for all channels. |
int channel | -1 for all channels. |
int channel | -1 is invalid. |