REVIEWED: PlaySoundMulti()
#2231
This commit is contained in:
parent
58f2bf4181
commit
9e5a9892be
1 changed files with 2 additions and 2 deletions
|
@ -1039,8 +1039,8 @@ void PlaySoundMulti(Sound sound)
|
||||||
AUDIO.MultiChannel.channels[index] = AUDIO.MultiChannel.poolCounter;
|
AUDIO.MultiChannel.channels[index] = AUDIO.MultiChannel.poolCounter;
|
||||||
AUDIO.MultiChannel.poolCounter++;
|
AUDIO.MultiChannel.poolCounter++;
|
||||||
|
|
||||||
AUDIO.MultiChannel.pool[index]->volume = sound.stream.buffer->volume;
|
SetAudioBufferVolume(AUDIO.MultiChannel.pool[index], sound.stream.buffer->volume);
|
||||||
AUDIO.MultiChannel.pool[index]->pitch = sound.stream.buffer->pitch;
|
SetAudioBufferPitch(AUDIO.MultiChannel.pool[index], sound.stream.buffer->pitch);
|
||||||
AUDIO.MultiChannel.pool[index]->looping = sound.stream.buffer->looping;
|
AUDIO.MultiChannel.pool[index]->looping = sound.stream.buffer->looping;
|
||||||
AUDIO.MultiChannel.pool[index]->usage = sound.stream.buffer->usage;
|
AUDIO.MultiChannel.pool[index]->usage = sound.stream.buffer->usage;
|
||||||
AUDIO.MultiChannel.pool[index]->isSubBufferProcessed[0] = false;
|
AUDIO.MultiChannel.pool[index]->isSubBufferProcessed[0] = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue