[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int Mix_VolumeChunk(Mix_Chunk *chunk, int volume)
Set chunk->volume to volume.
The volume setting will take effect when the chunk is used on a channel, being mixed into the output.
Returns: previous chunk->volume setting. if you passed a negative value for volume then this volume is still the current volume for the chunk.
|
See Also:
5.1 Mix_Chunk