qnighy / tapir

RGSS compatible runtime (namely: emulator for RPG Maker XP, VX, and VX Ace)
Other
103 stars 9 forks source link

Non-negligible latency in SDL_mixer #24

Open qnighy opened 6 years ago

qnighy commented 6 years ago

Audio.se_play is finally implemented! However, at least in my environment, it produces non-negligible latency. It is estimatedly 0.5 seconds.

I tried several workarounds on Mix_OpenAudio found in the Internet, but no one helped me.

Perhaps we should test it on other environments.

RyanBram commented 6 years ago

Maybe you can try SDL-Mixer-X, an improvement version of SDL_Mixer which retain compatibility with upstream library.

https://github.com/WohlSoft/SDL-Mixer-X

qnighy commented 6 years ago

@RyanBram thanks for the information! I may try that out sometime.

pulsejet commented 6 years ago

Possibly related https://www.linuxquestions.org/questions/programming-9/sdl_mixer-sound-delay-280499/

qnighy commented 6 years ago

@pulsejet thanks for the info, but parameter tuning was the first thing I tried.

pulsejet commented 6 years ago

This issue is absent on my system ...