teeworlds needs padsp in .desktop file for pulseaudio

Bug #256979 reported by Duncan Hawthorne
4
Affects Status Importance Assigned to Milestone
teeworlds (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: teeworlds

Teeworlds chooses OSS (ie /dev/dsp) by defualt for sound output. To make this go through pulseaudio, ie for teeworlds to make any sound whilst any other sound application is running, the .desktop file should change the Exec line to:
Exec=padsp teeworlds

Teeworlds cant use ALSA due to a limitation in portaudio's ability to work with pulseaudio. Therefore OSS is the correct choice. If teeworlds chooses the ALSA device, it still doesnt hurt for it to have padsp before it.

Note that for me sound is slightly distorted when using padsp compared to using just OSS sound straight (which only works when no other application is running). However, having any applications not going through pulseaudio produces major confusion headaches for users, as it can have what seems like very odd other affects on unrelated appplications which wont work as expected. It is safer to have the sound going through pulseaudio, even if it is slightly lower quality.

After testing messing with the values in /etc/pulse/daemon.conf ; it appears that adding the lines:
default-fragments = 8
default-fragment-size-msec = 5
fixes the sound problems i had in teeworlds. note that ";" in the config file means that line is commented out. This change to the daemon.conf file is suggested in several places on the internet.

for now, teeworlds should definitely have padsp. work on the default values for puleaudio daemon can come later

$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

$ apt-cache policy teeworlds
teeworlds:
  Installed: 0.4.2-1
  Candidate: 0.4.2-1
  Version table:
     0.4.2-1 0
        500 http://gb.archive.ubuntu.com intrepid/universe Packages
 *** 0.4.2-1 0
        100 /var/lib/dpkg/status

Revision history for this message
Duncan Hawthorne (duncan.hawthorne) wrote :

no longer a problem with teeworlds 0.5. when the package gets updated i will close this bug

Revision history for this message
Duncan Hawthorne (duncan.hawthorne) wrote :

the update to teeworlds 0.5.1 in karmic fixes this bug

Changed in teeworlds (Ubuntu):
status: New → Fix Released
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.