Calling sound_effect() while a sound effect is playing may cause a sound problem.
mori0091 opened this issue · 0 comments
mori0091 commented
Describe the bug
Setting another sound effect (fewer channels) while a sound effect (more than two channels) is playing may cause a short ugly sound.
To Reproduce
- call
sound_effect(x), wherexpoints sound clip that uses two or more channels. - while the
xis playing, callsound_effet(y), whereypoints sound clip with higher priority that uses fewer channels.
Expected behavior
At the above step 2, the sound clip x stop and the y is played w/o ugly sound.
Development environment (please complete the following information):
- OS and version: Ubuntu 20.04 on WSL2
- Compiler and version: sdcc 3.8.0
- Emulator and version: openMSX 17.0, blueMSX 2.8.2
- BIOS and version: C-BIOS_MSX2+_JP 0.29, or else
Target Platform
- MSX
- MSX2
- MSX2+
- MSXturboR
Additional context