Since some snapshot between stable versions 1.9 to 2.0 I started getting bad sound on most games, and this continued onto stable version 2.0 and up to the current snapshot.
Basically, sound skips frequently and is moderately distorted. This applies to digital sound, Ad-lib emulation, and MT32 emulation. The only games it seems to not be affecting are AGI games.
Does anyone have any suggestions? Or could this be a bug?
Bad sound on almost all games
Moderator: ScummVM Team
- CaptainJei
- Posts: 200
- Joined: Wed Jun 15, 2011 3:57 am
On what system are you using ScummVM? Windows?
You could try to change the audio buffer size to see if it helps. See http://wiki.scummvm.org/index.php/User_ ... escription
You could try to change the audio buffer size to see if it helps. See http://wiki.scummvm.org/index.php/User_ ... escription
- CaptainJei
- Posts: 200
- Joined: Wed Jun 15, 2011 3:57 am
- CaptainJei
- Posts: 200
- Joined: Wed Jun 15, 2011 3:57 am
- CaptainJei
- Posts: 200
- Joined: Wed Jun 15, 2011 3:57 am
-
- Posts: 89
- Joined: Wed Jul 11, 2007 1:18 am
- CaptainJei
- Posts: 200
- Joined: Wed Jun 15, 2011 3:57 am
- CaptainJei
- Posts: 200
- Joined: Wed Jun 15, 2011 3:57 am
- Raziel
- ScummVM Porter
- Posts: 1538
- Joined: Tue Oct 25, 2005 8:27 am
- Location: a dying planet
- Contact:
Re: Bad sound on almost all games
Since switching to SDL2 i also got frequent audio dropouts on both digital and MIDI.
Thanks to this thread and thanks to @criezy for the link i increased the audio buffer from 1024 (the setting ScummVM uses) to 4096 (my systems default).
I still have a question though, the linked page tells me that
I mean, i increased the value by a factor 4 and don't hear any problems on sound output, but it cured the dropouts.
I have yet to test with 2048, but since 4096 is my system's default and it works, i think i leave it as that.
What would be the worst if latency is set too high?
Would music/sound/MIDI lag?
Would that even be audible?
Thanks
Thanks to this thread and thanks to @criezy for the link i increased the audio buffer from 1024 (the setting ScummVM uses) to 4096 (my systems default).
I still have a question though, the linked page tells me that
I'm probbaly the only one, but wouldn't it be better to not be so strict?The default value is calculated based on output sampling frequency to keep audio latency below 45ms. (since 2.0)
I mean, i increased the value by a factor 4 and don't hear any problems on sound output, but it cured the dropouts.
I have yet to test with 2048, but since 4096 is my system's default and it works, i think i leave it as that.
What would be the worst if latency is set too high?
Would music/sound/MIDI lag?
Would that even be audible?
Thanks