MP3 audio not playing to COAX
#1
Hi,
I am having trouble with XBMC Live Dharma beta 3.

For some reason I am not able to play audio of files containing MP3 @ 44.1kHz.
All the other formats (DD, DTS, etc.) work fine.

The relevant part of the debug log into the xbmc.log is:
Code:
DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opening
11:58:03 T:2883840880 M:875573248    INFO: CDVDAudioCodecPassthrough::Open - disabled passthrough due to sample rate not being 48000
11:58:03 T:2883840880 M:875573248   DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Failed

The full log (since the start of the movie) is:
http://pastebin.com/KrFwimNV

Here is the output of aplay -L

Code:
xbmc@XBMCLive:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=CMI8768
    C-Media CMI8768, C-Media PCI DAC/ADC
    Default Audio Device
front:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI DAC/ADC
    Front speakers
rear:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI 2nd DAC
    Rear speakers
surround40:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI 2nd DAC
    4.0 Surround output to Front and Rear speakers
surround41:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI 2nd DAC
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI 2nd DAC
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI 2nd DAC
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI 2nd DAC
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CMI8768,DEV=0
    C-Media CMI8768, C-Media PCI DAC/ADC
    IEC958 (S/PDIF) Digital Audio Output

Code:
xbmc@XBMCLive:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CMI8768 [C-Media CMI8768], device 0: CMI8738-MC8 [C-Media PCI DAC/ADC]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: CMI8768 [C-Media CMI8768], device 1: CMI8738-MC8 [C-Media PCI 2nd DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8768 [C-Media CMI8768], device 2: CMI8738-MC8 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

My config:
XBMC Dharma beta 3
Intel E4300 - 1GB RAM
Audio: C-Media 8768 (Manhattan PCI Sound card)
Video: nVidia 8600GT

Is there any way to enable the MP3 files on the COAX output?
Reply
#2
See this topic (reply No. 10) for more details. From your first post: "CDVDAudioCodecPassthrough::Open - disabled passthrough due to sample rate not being 48000". It appears that Xbmc will (for the moment) NOT pass through 44.1 kHz streams. Which is silly. Try the following fix/workaround.

  1. Createl a file called: /home/my_name/.xbmc/advancedsettings.xml
  2. Paste the following text in it:
    Code:
    <advancedsettings>
            <audio>
                    <dvdplayerignoredtsinwav>true</dvdplayerignoredtsinwav>
            </audio>
    </advancedsettings>
Good luck! Smile
Reply
#3
Tried that, but did not work.

Anyone could help me?

Whenever I start a movie with MP3 audio or a music (flac, ape, mp3) the sound is muted and the passthrough is disabled.

How can I force passthrough even if the sample rate is not 48000?

please help.
Quite a blocking situation.
Reply
#4
You are using the Live CD aren't you? I haven't succeeded either in getting pass tru w/ Live. I'll try to keep keep an eye on to your topic see if there will be a solution. You can keep an eye on this topic and this topic to see if I found one Wink

P.S. It might be better for clarity to keep all passtru w/ Live probs. in one topic... Even though some devs deny there's a prob: believe me: there is!
Reply
#5
xbmcuser01 Wrote:You are using the Live CD aren't you? I haven't succeeded either in getting pass tru w/ Live. I'll try to keep keep an eye on to your topic see if there will be a solution. You can keep an eye on this topic and this topic to see if I found one Wink

P.S. It might be better for clarity to keep all passtru w/ Live probs. in one topic... Even though some devs deny there's a prob: believe me: there is!

Hi,
thanks for your support!

I have apparently managed to solve partially the problem: in alsamixer the SPDIF OUT was 'OFF'.
Strange because the .mkv video were working fine. Only MP3 movies and music, flac and skin sounds weren't working.

Now I have MP3 and flac working.

The only thing that are not working are the skin sounds, but I can live with it.


Will keep an eye in those threads though just to see if someone comes out with a solution to the skin sounds.

thanks again.
Reply
#6
So you installed Xbmc Live to harddisk, did you? Because that way you can access alsamixer. I think that's the reason why, when I run xbmc from live CD, I cannot get dig. out! Laugh
Reply
#7
xbmcuser01 Wrote:So you installed Xbmc Live to harddisk, did you? Because that way you can access alsamixer. I think that's the reason why, when I run xbmc from live CD, I cannot get dig. out! Laugh

Yes. I have Live installed onto the HD.
That's my conf.

I will test more deeply to see if all the formats are played fine.
Reply

Logout Mark Read Team Forum Stats Members Help
MP3 audio not playing to COAX0