You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that we can play all the needed sounds at the same time, even
when smashing buttons. With 20 channels, I could barely smash buttons fast
enough to run out of channels, but I couldn't do that with 25 channels. The
default seems to be 16 channels.
*/
Mix_AllocateChannels(32);
But I can smash arrow keys really fast so that this gets printed:
src/sound.c:103: playing soon: assets/sounds/pop.wav
src/sound.c:115: Mix_PlayChannel failed: No free channels available
src/sound.c:103: playing soon: assets/sounds/lemonsqueeze.wav
src/sound.c:115: Mix_PlayChannel failed: No free channels available
src/sound.c:103: playing soon: assets/sounds/lemonsqueeze.wav
src/sound.c:103: playing soon: assets/sounds/pop.wav
src/sound.c:115: Mix_PlayChannel failed: No free channels available
src/sound.c:103: playing soon: assets/sounds/pop.wav
src/sound.c:115: Mix_PlayChannel failed: No free channels available
src/sound.c:103: playing soon: assets/sounds/boing.wav
src/sound.c:115: Mix_PlayChannel failed: No free channels available
The text was updated successfully, but these errors were encountered:
3d-game-experiment/src/sound.c
Lines 49 to 55 in 55641ff
But I can smash arrow keys really fast so that this gets printed:
The text was updated successfully, but these errors were encountered: