Kodi Community Forum
Req XBMC rPi - Change output audio source - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Req XBMC rPi - Change output audio source (/showthread.php?tid=184420)

Pages: 1 2 3 4


XBMC rPi - Change output audio source - Phillez - 2014-01-25

Hi

I am using XBMC with a Raspberry Pi. Everything is running really good, but since the sound quality from the analoge audio output is so poor, i am using a DAC. Unfortunately i cannot seem to use the DAC audio source in XBMC.

Will there be any support for choosing the audio source in XBMC in the future?

Phillez


RE: XBMC rPi - Change output audio source - Ned Scott - 2014-01-25

How does the DAC connect to the Pi?


RE: XBMC rPi - Change output audio source - Phillez - 2014-01-26

The DAC is connected through the I2S pins.
I am using the HifiBerry DAC

I'm running the newest kernel and the DAC uses following modules:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac


RE: XBMC rPi - Change output audio source - Ned Scott - 2014-01-26

That will likely need to be supported by the OS itself, so it's up to the various distros to add it (OpenELEC, Raspbmc, XBian, etc).


RE: XBMC rPi - Change output audio source - dhead - 2014-01-26

@ned Scott

I don't think this is enough, alsa support needed to be add to XBMC.
See: http://forum.xbmc.org/showthread.php?tid=174502


RE: XBMC rPi - Change output audio source - Phillez - 2014-01-27

Yes, if just ALSA was supported it woundt be a problem. Hopefully this will be possible in the near future, since the analog output on the Pi sucks.


RE: XBMC rPi - Change output audio source - mildenhall - 2014-01-28

Alsa is now supported in the Gotham nightly builds of openelec http://netlir.dk/rbej/builds/?dir=MilhouseVH/


RE: XBMC rPi - Change output audio source - Bullsei - 2014-01-30

So, does this mean that the Hifiberry should work now? I downloaded the newest Milhouse build from today put the HIfiberry on the PI but there was no sound. I changed die Audio Output from HDMI to Analog. Do i have to enable Modules?(http://www.hifiberry.com/products/dac/hifiberry-dac-software/) - I think i can't because of the Read Only Folder. Looking forward to see finally working.


RE: XBMC rPi - Change output audio source - dhead - 2014-01-30

(2014-01-28, 23:01)mildenhall Wrote: Alsa is now supported in the Gotham nightly builds of openelec http://netlir.dk/rbej/builds/?dir=MilhouseVH/

How did you got to this conclusion ?


RE: XBMC rPi - Change output audio source - Bullsei - 2014-01-30

Don't know - i don't have the technical background to know what's needed that it's working. I only thought if ALSA is working that the Hifiberry is working too, but now i know that it isn't.


RE: XBMC rPi - Change output audio source - dhead - 2014-01-30

(2014-01-30, 17:55)Bullsei Wrote: Don't know - i don't have the technical background to know what's needed that it's working. I only thought if ALSA is working that the Hifiberry is working too, but now i know that it isn't.

Where did you seen that the HifiBerry works with XBMC ?
Maybe in Raspbmc which prone to include unstable and unmature patches, but latest commit of @stupid-boy to his OMX_ALSA branch is a few months old so maybe this won't applied as it is due to the new ActiveAE sink.


RE: XBMC rPi - Change output audio source - popcornmix - 2014-01-30

The newclock3 test branch does have alsa enabled, but also requires it to be enabled in the kernel.
Openelec doesn't do this currently. I did make a test openelec build with alsa support in kernel enabled, but haven't tested it yet. I'll try and test it at weekend.

This only helps users of ActiveAE Pi sink, i.e. paplayer and dvdplayer.

omxplayer will only get alsa support with @stupid-boy's branch, which is currently unstable (hangs on seeks).

It's possible that dvdplayer on Pi will become usable enough that omxplayer isn't needed for most (it will likely always be needed for raw Blu-Ray level video),
but we're not there yet.

Don't buy any alsa audio device for the Pi and expect it to work now.
There will be solutions for alsa devices with xbmc at some point in the future.


RE: XBMC rPi - Change output audio source - dhead - 2014-01-30

Thanks popcornmix for clarifying this.
Alsa support on XBMC for the RPi would make this platform even more amazing than it is.


RE: XBMC rPi - Change output audio source - dhead - 2014-02-23

Alsa is enabled on the latest MilhouseVH's OpenELEC Build.
USB sound works, well sort of, I might need to configure a .asoundrc as now to the output added hiss and clicks.

@Bullse & @Phillez please post how well the HifiBerry works for you with OpenELEC.


RE: XBMC rPi - Change output audio source - Bullsei - 2014-02-23

i installed the newest milhouse build of Openelec(todays build) but the Hifiberry is not working, it seems like the Hifiberry modules werent enabled.
Lsmod gives me nothing
aplay -l gives me the bcm2835 ALSA card, which i can select in XBMC - Nothing about Hifiberry