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


RE: XBMC rPi - Change output audio source - hipandsquare - 2014-02-24

(2014-02-23, 20:40)Bullsei Wrote: 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

Got the same results: Only the generic bcm2835 ALSA card selectable in XBMC, the specific modules for HiFiBerry (bcm2708, pcm5102) seem to be lacking in the kernel used for the last build.


RE: XBMC rPi - Change output audio source - popcornmix - 2014-02-27

I've just got xbmc working with hifiberry dac. It will only work with a gotham build using dvdplayer/paplayer (not omxplayer).

This is openelec build:
https://dl.dropboxusercontent.com/u/3669512/temp/OpenELEC-RPi.arm-devel-20140226212939-r17638-g6fc6264.tar

ssh in and create file:

/storage/.config/modules-load.d/hifiberry.conf
containing:
Code:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac

You will also want to create
/storage/.xbmc/userdata/advancedsettings.xml
containing:
Code:
<advancedsettings>
  <video>
    <defaultplayer>dvdplayer</defaultplayer>
    <defaultdvdplayer>dvdplayer</defaultdvdplayer>
  </video>
</advancedsettings>



AW: XBMC rPi - Change output audio source - Bullsei - 2014-02-27

Great. I will test it when I am back from work


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

everything is working fine for me - great work.


RE: XBMC rPi - Change output audio source - popcornmix - 2014-02-27

(2014-02-27, 16:25)Bullsei Wrote: everything is working fine for me - great work.

Good to hear.


RE: XBMC rPi - Change output audio source - 0xFF - 2014-02-27

What about audio files? Can we use dvdplayer/paplayer for playing FLAC?


AW: XBMC rPi - Change output audio source - Bullsei - 2014-02-27

Paplayer works fine for flac haven't tested dvdplayer yet


RE: XBMC rPi - Change output audio source - spookybathtub - 2014-02-27

Great, I will try this soon, I would love to have my HiFiBerry working.
@popcornmix could you explain how this is different than the latest Milhouse build? From what I understand, you are an XBMC dev, and he is not. But are you each working on separate forks from the master, or are you using each other's work, collaborating? Just trying to figure out which path I should follow.


RE: XBMC rPi - Change output audio source - spookybathtub - 2014-02-28

I can't really test until I get home, but at work I can at least connect with ssh. After installing that latest build, HiFiBerry appears to be recognized by alsa, but the built in output (analog and HDMI) no longer shows up:
Code:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0



XBMC rPi - Change output audio source - spookybathtub - 2014-02-28

I've selected the audio output in XBMC as "ALSA: Default (snd_rpi_hifiberry_dac Analog)" but the sound still comes through HDMI only. I've tied turning dual audio output on and off.
On the other hand, speaker-test plays audio through the HiFiBerry.


RE: XBMC rPi - Change output audio source - hipandsquare - 2014-03-01

Got my Hifiberry also working, using paplayer for audio.

Thx a lot to popcornmix!


RE: XBMC rPi - Change output audio source - luksol - 2014-03-07

(2014-02-27, 00:33)popcornmix Wrote: I've just got xbmc working with hifiberry dac. It will only work with a gotham build using dvdplayer/paplayer (not omxplayer).

This is openelec build:
https://dl.dropboxusercontent.com/u/3669512/temp/OpenELEC-RPi.arm-devel-20140226212939-r17638-g6fc6264.tar

ssh in and create file:

/storage/.config/modules-load.d/hifiberry.conf
containing:
Code:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac

You will also want to create
/storage/.xbmc/userdata/advancedsettings.xml
containing:
Code:
<advancedsettings>
  <video>
    <defaultplayer>dvdplayer</defaultplayer>
    <defaultdvdplayer>dvdplayer</defaultdvdplayer>
  </video>
</advancedsettings>

Does it work with hifiberry Digi and DTC/AC3 5.1 output?


RE: XBMC rPi - Change output audio source - popcornmix - 2014-03-08

(2014-03-07, 16:22)luksol Wrote: Does it work with hifiberry Digi and DTC/AC3 5.1 output?

No, but this should support HifiBerry DAC and HifiBerry Digi:
https://dl.dropboxusercontent.com/u/3669512/temp/OpenELEC-RPi.arm-devel-20140308190048-r17871-g8a2f22b.tar

The Digi needs these modules in /storage/.config/modules-load.d/hifiberry.conf
Code:
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_wm8804
snd_soc_hifiberry_digi

DTS and AC3 passthrough multichannel audio are working on the Digi (as well as stereo PCM).


RE: XBMC rPi - Change output audio source - luksol - 2014-03-10

(2014-03-08, 23:09)popcornmix Wrote:
(2014-03-07, 16:22)luksol Wrote: Does it work with hifiberry Digi and DTC/AC3 5.1 output?

No, but this should support HifiBerry DAC and HifiBerry Digi:
https://dl.dropboxusercontent.com/u/3669512/temp/OpenELEC-RPi.arm-devel-20140308190048-r17871-g8a2f22b.tar

The Digi needs these modules in /storage/.config/modules-load.d/hifiberry.conf
Code:
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_wm8804
snd_soc_hifiberry_digi

DTS and AC3 passthrough multichannel audio are working on the Digi (as well as stereo PCM).

Very good news. Does it work in omxplayer or dvdplayer?


RE: XBMC rPi - Change output audio source - ocpts - 2014-03-11

hello

I also got the hifiberry DAC working now Big Grin

Is it possible to use different soundcards/settings for the audio and video player?
I want to use the hifiberry for audio playback and multichannel via HDMI for video...


This forum uses Lukasz Tkacz MyBB addons.