Sound: added channel recycling.
Added sound channel count (aka voices) user option. Added 3DPB font to sprite viewer. Added version number to about dialog.
This commit is contained in:
1 parent
d80074b9b6
commit
43593b168d
8 files changed
+137
-87
No files matched your search
@@ -331,7 +331,7 @@ float loader::play_sound(int soundIndex)
|
||||
{
|
||||
if (soundIndex <= 0)
|
||||
return 0.0;
|
||||
Sound::PlaySound(sound_list[soundIndex].WavePtr, 0, 7, 0, 0);
|
||||
Sound::PlaySound(sound_list[soundIndex].WavePtr, pb::time_ticks);
|
||||
return sound_list[soundIndex].Duration;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user