Kodi Community Forum

Full Version: [LINUX] Ubuntu PulseAudio Sound Issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Here is some reading material if you've upgraded to Ubuntu Intrepid 8.10
http://ubuntuforums.org/showthread.php?t=866965
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.
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.
WOOT? 5.1 is downmixed to 2 channels? Alway or just if you use Pulseaudio? How can i enable 5.1?
LAW-Mastermind Wrote:WOOT? 5.1 is downmixed to 2 channels? Alway or just if you use Pulseaudio? How can i enable 5.1?

SPDIF passthrough will always give you 5.1 I would guess.
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?
I´m using xbmc together with 8.10 , i made a script to startup
Quote:pulseaudio -k
xbmc
Is XBMC going to support pulseaudio in the near future? Because i can't get my surround sound to work in XBMC.
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?
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 ;-)
I use that script too, but then I can't get the surround sound to work.
kipfel Wrote:Is XBMC going to support pulseaudio in the near future? Because i can't get my surround sound to work in XBMC.

maybe Wink

Should be in XBMC Svn when we have decided on how to implement it good (mostly need to take care on desktops that doesnt use it, ie KDE)

Cheers
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.
Topfs2 Wrote:maybe Wink

Should be in XBMC Svn when we have decided on how to implement it good (mostly need to take care on desktops that doesnt use it, ie KDE)

Cheers

Hello,

I was having the impression you secretly made some magic code for the pulseaudio support.
Topfs2 Wrote:maybe Wink

Should be in XBMC Svn when we have decided on how to implement it good (mostly need to take care on desktops that doesnt use it, ie KDE)

Cheers

Can it be ported to XBOX branch? Will be thrilled if it's true.
Pages: 1 2 3 4 5 6 7