Skip to main content

Thread: How To: The (almost) Perfect Pulse Audio Setup


after tinkering, have found setup pulse audio on hardy happy with. since lot of people having trouble it, here's did:

updates:
  1. added link method 5.1 sound
  2. patched sdl pulse driver. see changes in step 3: libsdl1.2debian-all no longer needed.
    i've submitted bug try patch incorporated in ubuntu version: https://bugs.launchpad.net/ubuntu/+s....2/+bug/225467
  3. created repository new pulse drive (supports i386, amd64, , lpia)
    more changes step 3 now.


1) install additional packages
code:
sudo apt-get install libao-pulse libasound2-plugins
2) configure settings
--edit /etc/asound.conf file so:
code:
pcm.pulse {      type pulse  }  ctl.pulse {      type pulse  }  pcm.!default {      type pulse  }  ctl.!default {      type pulse  }
--edit /etc/libao.conf so:
code:
default_driver=pulse
create files don't exist.

--go system>preferences>sound
--set top 4 boxed pulseaudio sound server
--set default mixer name of sound card

3) install additional pulse packages
code:
sudo apt-get install libflashsupport padevchooser pulseaudio-module-hal pulseaudio-module-x11
allow install additional dependencies.

--updated here:--
ensure have default libsdl install, first run this:
code:
sudo apt-get install libsdl1.2debian libsdl1.2debian-alsa
now add following lines /etc/apt/sources.list (this add repository, packages need):
code:
## zman0900's ppa  deb http://ppa.launchpad.net/zman0900/ubuntu hardy main  deb-src http://ppa.launchpad.net/zman0900/ubuntu hardy main
now run following:
code:
sudo apt-get update  sudo apt-get upgrade  sudo apt-get install libsdl1.2debian-pulseaudio
note: if libsdl1.2debian-pulseaudio not install you, following 2 things instead:
code:
sudo apt-get install libsdl1.2debian-all
and add ~/.profile :
code:
# make sdl audio work pulse  #export sdl_audiodriver=pulse
both libsdl1.2debian-pulseaudio , libsdl1.2debian-all contain patched pulse driver, requires explicitly use pulse sdl_audiodriver environment variable.
--end update--

5) set device chooser
go applications>sound & video>pulseaudio device chooser
show plug in notification area.
left click, click preferences, check start applet on session login.

6) restart computer!
should set now. should able play audio through both alsa, esd, , pulse applications @ same time, , show in device chooser separate, configurable stream.

additional info:
see pulseaudio website info many other applications:
http://pulseaudio.org/wiki/perfectse...tyapplications

about oss applications:
if want use oss application @ same time other sounds playing through pulse, command:
code:
padsp <some-oss-program>
this should work oss application. redirect sound through pulse. without padsp, oss application thing can play sound while running.

possible method 5.1 sound:
see here: http://ubuntuforums.org/showpost.php...38&postcount=4

current issues:
  1. wine not work through alsa, esd, or oss.
  2. the pulse driver sdl has slight audio lag, less esd driver.
  3. some other programs may not work alsa through pulse.
    see bug: http://www.pulseaudio.org/ticket/285

post if know of more.

worked came looking see if fix flash playback, ended following entire guide , worked without flaws/bugs!


Forum The Ubuntu Forum Community Other Discussion and Support Tutorials Outdated Tutorials & Tips How To: The (almost) Perfect Pulse Audio Setup


Ubuntu

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts