Stuttering sound

Bug #243345 reported by Tony Houghton
8
Affects Status Importance Assigned to Milestone
wesnoth (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: wesnoth

The music in Wesnoth stutters badly at the default sample rate of 44100Hz as if the audio buffers aren't being filled fast enough. If I change it to 22050Hz it's bearable, but there's a glitch every few seconds. I think the higher the sample rate the higher the rate of glitches; at 44+KHz there are several glitches per second. Also, the higher the sample rate, the lower the pitch sounds. The audio only seems to work at all when pulse is running. If I try to use ALSA or OSS it says it can't find a sound device.

I'm using Hardy Heron amd64 with wesnoth 1:1.4-1 and libsdl1.2debian 1.2.13-1ubuntu1. My audio device is an AD1986A according to ALSA Mixer.

Revision history for this message
Tony Houghton (h-realh) wrote :

I've just discovered I can correct it by increasing the buffer size option, but it should really get set to a big enough value automatically.

Revision history for this message
Dara Adib (daradib) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. What was the buffer size option set to originally, and what did you change it to?

Also, please delete the .wesnoth directory in your home directory. WARNING: This will remove any custom Wesnoth configuration, addons, and saves, so back up the respective files in the directory if you need to. Then run Wesnoth and see if the problem still exists. Record what the buffer size option is set to. If the bug still exists, please delete the .wesnoth directory again and test with the latest version of Wesnoth in hardy-backports.

Finally, please specify your system specifications.

Changed in wesnoth:
status: New → Incomplete
Revision history for this message
Tony Houghton (h-realh) wrote :

I'm afraid I've switched from Ubuntu to Debian since reporting this bug and I don't seem to have the same problem with this version. The default buffer size is 1024 and I increased it to the maximum (4096).

Revision history for this message
Dara Adib (daradib) wrote :

I am closing this bug since there are no current instances of this bug.

To all: feel free to add a bug comment if you experience this bug, so it can be reopened.

Changed in wesnoth:
status: Incomplete → Invalid
Dara Adib (daradib)
Changed in wesnoth:
status: Invalid → Incomplete
importance: Undecided → Low
Javier Jardón (jjardon)
Changed in wesnoth:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.