Posts: 4,997
Joined: May 2004
Reputation:
12
Nice find, there's also a link in the first post to similar for 8.04. To all those with alsa errors in your logs, check this out.
Posts: 265
Joined: Dec 2007
Reputation:
4
s7mx1
Senior Member
Posts: 265
Pulse audio is no longer an issue after the developer decided to downmix the 5.1 audio to 2 channels by default in video playing.
To set up put the following into the system wide configuration file /etc/asound.conf
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
The xbmc client and pulseaudio server in my setup are both running the 8.10 with unmodified pulseaudio package.
I am more than happy to see the changes as now I can streaming the audio to the my centralised pulseaudio server.
Posts: 98
Joined: Sep 2008
Reputation:
0
WOOT? 5.1 is downmixed to 2 channels? Alway or just if you use Pulseaudio? How can i enable 5.1?
Posts: 396
Joined: Sep 2008
Reputation:
0
I've tried all that, the playback still eventually freezes. when i hit x to stop the plyaback XMBC freezes until i kill -9 on pulseaudio
does any one else have this working? on intrepid?
Posts: 11
Joined: Nov 2008
Reputation:
0
kipfel
Junior Member
Posts: 11
Is XBMC going to support pulseaudio in the near future? Because i can't get my surround sound to work in XBMC.
Posts: 396
Joined: Sep 2008
Reputation:
0
I find if do the kill pulseaudio trick, then my menu sounds dont work, but movie audio works okay. do you menu navigation sounds still work?
Posts: 29
Joined: Jun 2008
Reputation:
0
For the, everything works (even the sound "ticks" in the menu) when i kill pulseaudio. So the script:
pulseaudio -k
sleep 2
xbmc
pulseaudio -D
works great ;-)
Posts: 11
Joined: Nov 2008
Reputation:
0
kipfel
Junior Member
Posts: 11
I use that script too, but then I can't get the surround sound to work.
Posts: 265
Joined: Dec 2007
Reputation:
4
s7mx1
Senior Member
Posts: 265
2008-11-17, 21:23
(This post was last modified: 2008-11-17, 21:28 by s7mx1.)
The pulseaudio server running with the following command on the centralised sound server:
/usr/bin/pulseaudio --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=1
On the client all I need to do is to define the
default-server = ; set this to ip where your pulse server is running
in /etc/pulse/client.conf
and rest just works. The client and server both running the latest stock Ubuntu 8.10.
On the client, the pulse audio was automatically started as I log in the GDM with the following command line (I think they are default for ubuntu users)
/usr/bin/pulseaudio -D --log-target=syslog
/usr/lib/pulseaudio/pulse/gconf-helper
I did not try running the pulseaudio server on the same machine as the XBMC client. But I would suggest to run the pulseaudio (on the same machine as the XBMC client) as a system service and disable the user's (XBMC) pulseaudio instance to start up automatically.