Posts: 6
Joined: Feb 2009
Reputation:
0
Sound works great for DVDs, mpegs, etc, and the 5.1 is working, but for some reason when I start to play an MP3 nothing happens.
If I hit TAB to go to the play screen it just shows the MP3 hanging at 0:00. It reads the file fine, but it seems to hang on playback.
Any ideas? :confused2:
Posts: 205
Joined: Nov 2008
Reputation:
0
spozen
Senior Member
Posts: 205
So stereo works? Menu sound, movies in stereo?
Posts: 15,274
Joined: Jan 2009
Reputation:
730
ronie
Team-Kodi Member
Posts: 15,274
Are you using analogue audio output or digital (HDMI or S/PDIF) ?
What are the contents of your .asoundrc file, if you have one?
How did you configure your audio hardware in XBMC ?
Posts: 6
Joined: Feb 2009
Reputation:
0
Yep.. menu sounds work as do movies.
I am using digital audio with spdif passthrough, and what I have working now was setup correctly out of the box.
This is my .asoundrc :
pcm.!default {
type hw
card 0
device 1
}
It's weird because when I start an MP3 it's not like I can see it playing, but there's no sound.. it just doesn't seem to start at all. It hangs at 0:00.
Posts: 15,274
Joined: Jan 2009
Reputation:
730
ronie
Team-Kodi Member
Posts: 15,274
If you enable debug logging, does the logfile show anything relevant when you start to play the mp3 file ?
You can also try to play the file with the build-in dvd player, select the mp3 and open up the context menu, now select: Play using.. and select DVDPlayer.
Just to make sure, is sound working ok outside of XBMC ?
Posts: 6
Joined: Feb 2009
Reputation:
0
hmm.. interesting. It plays just fine with the built in DVD player using the context menu as you suggested.
It seems that PAPlayer is having problems. Any ideas about that? Shouldn't it be using the same settings and codecs and what not?
Posts: 6
Joined: Feb 2009
Reputation:
0
Could someone post a dump of what files are in system/players/paplayer ?
It looks like the mp3 codec may not be in that directory, which is odd. I'm wondering if the Ubuntu packages don't have the mp3 codec included for some reason?
Posts: 6
Joined: Feb 2009
Reputation:
0
nevermind.. MADCodec is in there.
Now I'm stumped ;-)
Posts: 6
Joined: Feb 2009
Reputation:
0
It looks like an issue with ALSA.
I think XBMC is tying up the ALSA Device with it's Front End, so when it attempts to run PAPlayer it doesn't have access to the device since it's busy.
This was in my log:
ERROR: CreateStream - pcm_open, alsa error: Device or resource busy
Posts: 210
Joined: Nov 2004
Reputation:
6
Any followup? Were you able to fix your problem?
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
Posts: 6
Joined: Apr 2009
Reputation:
0
I have this exact same problem.
I have no idea what "default" is - I don't have a default.