MP3's not working. Digital Audio works
#1
Movies with digital audio work fine. I only discovered MP3's were not working when I had a TV show with analog sound. My audio card is a Dynex DXSC51 using optical out with Ubuntu 8.10. Both audio options are set to plugConfusedpdif. I also ran alsamixer and unmuted everything. Both IEC958's are set to PCM.

aplay -L output:
front:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
Front speakers
rear:CARD=ICE1724,DEV=0
ICEnsemble ICE1724
Rear speakers
center_lfe:CARD=ICE1724,DEV=0
ICEnsemble ICE1724
Center and Subwoofer speakers
side:CARD=ICE1724,DEV=0
ICEnsemble ICE1724
Side speakers
surround40:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
4.0 Surround output to Front and Rear speakers
surround41:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=ICE1724,DEV=0
ICEnsemble ICE1724, ICE1724
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)

log:
http://pastebin.com/m56cb8c1
Kodi: Shield Pro 2019
Storage: Synology DS2415+, DS1815+
HT: LG 65C9 OLED, Pioneer VSX-LX503
Speakers: ProAc Super Towers/front, ProAc EBT's/rear, Polk S35/center, SVS PB-2000 Subwoofer
Reply
#2
I'm not much help but search the forums for other threads relating to your issue.

Here is one for example: http://forum.xbmc.org/showthread.php?tid...=spdif+mp3
Reply
#3
Also check out the sticky here:
http://forum.xbmc.org/showthread.php?tid=35901

tslayer's post worked for me when I had this issue.
Reply
#4
I have been trying different things I searched on before I posted. I managed to break the digital audio but finally got that working again. The speaker-test does not work with the .asoundrc file. This is the error I get:

speaker-test -c 2

speaker-test 1.0.17

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument

Some googling I found /etc/asound.conf. Navigation sounds work now but the MP3 playback in XBMC locks up
pcm.!default {
type plug
slave.pcm {
type dmix
ipc_key 1478
slave {
pcm "hw:0,1"
format S32_LE
period_time 0
period_size 1024
buffer_size 8192
}
}
}

What is the ipc_key?
Kodi: Shield Pro 2019
Storage: Synology DS2415+, DS1815+
HT: LG 65C9 OLED, Pioneer VSX-LX503
Speakers: ProAc Super Towers/front, ProAc EBT's/rear, Polk S35/center, SVS PB-2000 Subwoofer
Reply
#5
New log. Now it's saying the device is busy.

http://pastebin.com/db9199ea
Kodi: Shield Pro 2019
Storage: Synology DS2415+, DS1815+
HT: LG 65C9 OLED, Pioneer VSX-LX503
Speakers: ProAc Super Towers/front, ProAc EBT's/rear, Polk S35/center, SVS PB-2000 Subwoofer
Reply
#6
Now I'm totally amazed. Boxee sound never worked. After all this messing around it works fine for movies and MP3's. XBMC still does not work on MP3's. Here is my latest asound.conf file:

pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,1"
rate 48000
channels 2
format S32_LE
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}

pcm.!default {
type plug
slave.pcm "dmixer"
}
Kodi: Shield Pro 2019
Storage: Synology DS2415+, DS1815+
HT: LG 65C9 OLED, Pioneer VSX-LX503
Speakers: ProAc Super Towers/front, ProAc EBT's/rear, Polk S35/center, SVS PB-2000 Subwoofer
Reply
#7
Smile 
Well dumb is dumb and I was dumber. It was working the whole time once I got the asound.conf file set. The main problem was the audio for stereo output was so low you could not hear it. I only discovered it when I tried playing a video with analog sound. There you can control the sound with the pad. Once I bumped it and went back to MP3 I could finally hear it. Where is the sound control while playing music?

Final settings:
XBMC audio outputs are set to default.
No .asoundrc file

/etc/asound.conf:

pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,1"
rate 48000
channels 2
format S32_LE
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}

pcm.!default {
type plug
slave.pcm "dmixer"
}
Kodi: Shield Pro 2019
Storage: Synology DS2415+, DS1815+
HT: LG 65C9 OLED, Pioneer VSX-LX503
Speakers: ProAc Super Towers/front, ProAc EBT's/rear, Polk S35/center, SVS PB-2000 Subwoofer
Reply

Logout Mark Read Team Forum Stats Members Help
MP3's not working. Digital Audio works0