2014-05-24, 18:39
Hi,
I am running a raspberry pi with a hifiberry DAC with
"XBMC (14.0-ALPHA1 Git:7bffdd1). Platform: ARM Linux 32-bit"
which I installed 2 days ago.
I have installed the iplayer add-on, which works fine.
I can get output via the hifiberry DAC from a file (I used get_iplayer on a different system to grab a BBC iplayer .m4a file and copied it over to a usb file store on the RPi. I then played it successfully through the DAC.
However, when I select an iplayer radio programme, e.g. radio4 live, the audio goes to the hdmi output and not to the hifiberry.
Below is all the information I thought might be relevant. I will post a normal xbmc.log as I could not manage to get a loglevel 1 log: see below for what I tried.
1) I have the audio setting in the system->settings->system set to the hifiberry.
2) I have installed an /etc/modules-load.d/hifiberry.conf:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac
3) the output of lsmod looks fine:-
Module Size Used by
fuse 75117 2
snd_soc_wm8804 7028 0
snd_soc_pcm512x 7382 0
lirc_rpi 6060 3
lirc_dev 7877 1 lirc_rpi
rc_core 12803 1 lirc_dev
snd_soc_hifiberry_dac 1740 0
snd_soc_pcm5102a 1058 1
bcm2708_dmaengine 4978 1
virt_dma 1566 1 bcm2708_dmaengine
snd_soc_bcm2708_i2s 5274 2
snd_soc_core 101471 5 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_dac,snd_soc_pcm5102a,snd_soc_bcm2708_i2s
snd_compress 7048 1 snd_soc_core
regmap_i2c 1161 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 2851 1 snd_soc_core
regmap_spi 1465 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
regmap_mmio 1945 1 snd_soc_bcm2708_i2s
snd_pcm 62352 3 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_timer 17716 1 snd_pcm
snd 41580 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
4)I have also installed an /storage/.xbmc/userdata/advancedsettings.xml file:-
<advancedsettings>
<loglevel hide="true">1</loglevel>
<audiooutput>
<audiodevice>ALSA:sysdefault:CARD=sndrpihifiberry</audiodevice>
</audiooutput>
<audio>
<defaultplayer>paplayer</defaultplayer>
</audio>
<video>
<defaultplayer>dvdplayer</defaultplayer>
<defaultdvdplayer>dvdplayer</defaultdvdplayer>
</video>
</advancedsettings>
Query: Running with this seems to have not updated the .../temp/xbmc.log at all, i.e. the xmbc.log in the .xmbc/temp directory is one for the previous session.
I notice that the xmbc.log file shows that /usr/share/xml/system/advancedsettings.xml is read but does not show that .xmbc/userdata/advancedsettings.xml being read.
5)The <audiooutput> section of .xbmc/userdata/guisettings.xml which I set through the GUI is:-
<audiooutput>
<ac3passthrough default="true">true</ac3passthrough>
<ac3transcode default="true">false</ac3transcode>
<audiodevice>ALSA:@</audiodevice>
<channels default="true">1</channels>
<config default="true">2</config>
<dtshdpassthrough default="true">false</dtshdpassthrough>
<dtspassthrough default="true">false</dtspassthrough>
<dualaudio default="true">false</dualaudio>
<eac3passthrough default="true">false</eac3passthrough>
<guisoundmode default="true">1</guisoundmode>
<normalizelevels default="true">true</normalizelevels>
<passthrough default="true">false</passthrough>
<passthroughdevice default="true">PI:HDMI</passthroughdevice>
<processquality default="true">30</processquality>
<samplerate default="true">48000</samplerate>
<stereoupmix default="true">false</stereoupmix>
<streamsilence default="true">1</streamsilence>
<truehdpassthrough default="true">false</truehdpassthrough>
</audiooutput>
I have a standard xbmc.log that I will upload but I can;t seem to get a loglevel 1 report since the //xbmc/system/advancesettings.xml file is a read-only file even for root.
I am running a raspberry pi with a hifiberry DAC with
"XBMC (14.0-ALPHA1 Git:7bffdd1). Platform: ARM Linux 32-bit"
which I installed 2 days ago.
I have installed the iplayer add-on, which works fine.
I can get output via the hifiberry DAC from a file (I used get_iplayer on a different system to grab a BBC iplayer .m4a file and copied it over to a usb file store on the RPi. I then played it successfully through the DAC.
However, when I select an iplayer radio programme, e.g. radio4 live, the audio goes to the hdmi output and not to the hifiberry.
Below is all the information I thought might be relevant. I will post a normal xbmc.log as I could not manage to get a loglevel 1 log: see below for what I tried.
1) I have the audio setting in the system->settings->system set to the hifiberry.
2) I have installed an /etc/modules-load.d/hifiberry.conf:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac
3) the output of lsmod looks fine:-
Module Size Used by
fuse 75117 2
snd_soc_wm8804 7028 0
snd_soc_pcm512x 7382 0
lirc_rpi 6060 3
lirc_dev 7877 1 lirc_rpi
rc_core 12803 1 lirc_dev
snd_soc_hifiberry_dac 1740 0
snd_soc_pcm5102a 1058 1
bcm2708_dmaengine 4978 1
virt_dma 1566 1 bcm2708_dmaengine
snd_soc_bcm2708_i2s 5274 2
snd_soc_core 101471 5 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_dac,snd_soc_pcm5102a,snd_soc_bcm2708_i2s
snd_compress 7048 1 snd_soc_core
regmap_i2c 1161 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 2851 1 snd_soc_core
regmap_spi 1465 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
regmap_mmio 1945 1 snd_soc_bcm2708_i2s
snd_pcm 62352 3 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_timer 17716 1 snd_pcm
snd 41580 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
4)I have also installed an /storage/.xbmc/userdata/advancedsettings.xml file:-
<advancedsettings>
<loglevel hide="true">1</loglevel>
<audiooutput>
<audiodevice>ALSA:sysdefault:CARD=sndrpihifiberry</audiodevice>
</audiooutput>
<audio>
<defaultplayer>paplayer</defaultplayer>
</audio>
<video>
<defaultplayer>dvdplayer</defaultplayer>
<defaultdvdplayer>dvdplayer</defaultdvdplayer>
</video>
</advancedsettings>
Query: Running with this seems to have not updated the .../temp/xbmc.log at all, i.e. the xmbc.log in the .xmbc/temp directory is one for the previous session.
I notice that the xmbc.log file shows that /usr/share/xml/system/advancedsettings.xml is read but does not show that .xmbc/userdata/advancedsettings.xml being read.
5)The <audiooutput> section of .xbmc/userdata/guisettings.xml which I set through the GUI is:-
<audiooutput>
<ac3passthrough default="true">true</ac3passthrough>
<ac3transcode default="true">false</ac3transcode>
<audiodevice>ALSA:@</audiodevice>
<channels default="true">1</channels>
<config default="true">2</config>
<dtshdpassthrough default="true">false</dtshdpassthrough>
<dtspassthrough default="true">false</dtspassthrough>
<dualaudio default="true">false</dualaudio>
<eac3passthrough default="true">false</eac3passthrough>
<guisoundmode default="true">1</guisoundmode>
<normalizelevels default="true">true</normalizelevels>
<passthrough default="true">false</passthrough>
<passthroughdevice default="true">PI:HDMI</passthroughdevice>
<processquality default="true">30</processquality>
<samplerate default="true">48000</samplerate>
<stereoupmix default="true">false</stereoupmix>
<streamsilence default="true">1</streamsilence>
<truehdpassthrough default="true">false</truehdpassthrough>
</audiooutput>
I have a standard xbmc.log that I will upload but I can;t seem to get a loglevel 1 report since the //xbmc/system/advancesettings.xml file is a read-only file even for root.