Pulseaudio support - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: Pulseaudio support (/showthread.php?tid=146646) |
Pulseaudio support - master-sonic - 2012-11-29 Hi, I'm currently running Arch Linux on my Raspberry Pi. I set up pulseaudio with a tunnel-sink to stream audio over the network. However, the build I was using did not seem to care about ALSA or pulseaudio at all and played audio directly over the analog output. After some digging around I found out that my build was compiled with the --disable-pulse flag set (I've attached the PKGBUILD below). So I recompiled with --enable-pulse but still no luck. In contrast to PC builds of XBMC there does not seem to be a way to choose the audio device in system -> audio settings. This option is lacking in my build. How can I force XBMC to use pulseaudio? Am I missing any further ./configure flags I need to tweak? Cheers Peter Code: # Contributor tomasgroth at yahoo.dk RE: Pulseaudio support - gimli - 2012-11-29 XBMC on the RaspberryPI doesn't support pulseaudio or alsa. RE: Pulseaudio support - bac522 - 2012-11-29 Go to this post to learn more about using pulse within XBMC on the PI http://forum.stmlabs.com/showthread.php?tid=1052 RE: Pulseaudio support - gimli - 2012-11-29 (2012-11-29, 18:54)bac522 Wrote: Go to this post to learn more about using pulse within XBMC on the PI If nobody told you, i'm the RaspberryPI XBMC developper. So i know pretty sure what our official source can do and not. What you show is an external patch which doesn't belong to xbmc master. RE: Pulseaudio support - master-sonic - 2012-11-29 (2012-11-29, 16:11)gimli Wrote: XBMC on the RaspberryPI doesn't support pulseaudio or alsa. Am I assuming correctly that the rbp build uses a different/modified AudioEngine and directly accesses the sound module? (As it doesn't care whether snd_bcm2835 is loaded or not) Is this due to hardware limitations? RE: Pulseaudio support - gimli - 2012-11-29 (2012-11-29, 19:37)master-sonic Wrote:(2012-11-29, 16:11)gimli Wrote: XBMC on the RaspberryPI doesn't support pulseaudio or alsa. You asume wrong. XBMC on the PI doesn't use AE at all. RE: Pulseaudio support - topfs2 - 2012-11-29 Patches for the player to use AudioEngine would be nice though, it really ought to use it if possible. RE: Pulseaudio support - gimli - 2012-11-29 (2012-11-29, 22:27)topfs2 Wrote: Patches for the player to use AudioEngine would be nice though, it really ought to use it if possible. Not on the PI. Pure overkill. RE: Pulseaudio support - s7mx1 - 2012-11-30 Headless playback on the pi through XBMC will definitely need AE (analogue sound is still troublesome at the moment) I am no expert in AE but would it be possible to have an OMX AE sink or engine so OMXPlayer can hook it up? That will also make it possible to reuse the paplayer code. @topfs2 On the subject of AE/pulseaudio I noticed couple of bugs: 1) menu sound volume not adjustable 2) only default sink device being used and xbmc gui audio device settings are totally ignored. I have made some fix. Is there any place to discuss further? RE: Pulseaudio support - topfs2 - 2012-11-30 (2012-11-29, 22:50)gimli Wrote:(2012-11-29, 22:27)topfs2 Wrote: Patches for the player to use AudioEngine would be nice though, it really ought to use it if possible. Well obviously AE needs to use less resources before venturing that way . But using one audio output for video player and another for GUI and music playback is just plain silly if they _can_ be merged. RE: Pulseaudio support - s7mx1 - 2012-11-30 Total CPU usage for pi is about 50% when playing back FLAC music using AE/Pulseaudio + paplayer. Video playback is similar and that's more than acceptable. RE: Pulseaudio support - trondis23 - 2012-11-30 (2012-11-30, 09:36)topfs2 Wrote: Well obviously AE needs to use less resources before venturing that way . But using one audio output for video player and another for GUI and music playback is just plain silly if they _can_ be merged. I agree, but omx player doesn't support gapless playback of audio files yet. Will it ever have it? I am using the June 23 version of OpenElec, which does support gapless audi. It seems like it uses different players for audio and video, but I am not sure. RE: Pulseaudio support - s7mx1 - 2012-11-30 @topfs2 Have a look here: https://github.com/xbmc/xbmc/pull/1868 |