Public bug reported:

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

** Affects: teeworlds (Ubuntu)
     Importance: Undecided
         Status: New

-- 
teeworlds needs padsp in .desktop file for pulseaudio
https://bugs.launchpad.net/bugs/256979
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to