Posts: 1,741
Joined: Jul 2006
Reputation:
4
Select the proper audio device in XBMC setup I believe - this has been seen and mentioned by many and I believe that is the fix.
Posts: 30
Joined: May 2008
Reputation:
0
I went into the audio configuration and for audio device it has analog selected with the name "default". I tried changing it to: Conexant, CONEXANT, Conexant Audio, CONEXANT Audio, pulseaudio, alsa, and alsa_output.pci_8086_27d8_sound_card_0_alsa_playback_0.
None of those did anything. I even restarted XBMC after changing it every time, then I tried default again... still nothing.
Posts: 30
Joined: May 2008
Reputation:
0
I can't edit posts for some reason, but I left something out, sorry for the double post.
I can't find any place to select an audio device, just a place to manually type in an audio device. How do I see what I need to put in this box?
Posts: 30
Joined: May 2008
Reputation:
0
I just tried PulseAudio Sound Server, PulseAudio Sound, PulseAudio, Master, Volume, audio, mixer, snd, dsp, adsp, /dev/snd, /dev/mixer, /dev/audio, /dev/dsp, /dev/adsp, ALSA PCM, ALSA, alsa, HDA Intel, hda intel, hda_intel, etc.
Still nothing. There were a few, however, that it would freeze for a few seconds after I set it, but then still no sound and no sound after a restart of XBMC.
Posts: 4,997
Joined: May 2004
Reputation:
12
Are you just pulling stuff out of the air and typing it in?
There have been plenty of threads on this if you'd bothered looking. "iec958" works for some.
Posts: 30
Joined: May 2008
Reputation:
0
Tried IEC958 and it fixed the video speed but still no audio anywhere. AND NO, I wasn't just pulling things out of my ass, i was pulling ideas from other threads in other places, only I didn't know what they were talking about most of the time, being new to Linux. So I just pulled things out of applications that looked like they might work and tried them. I searched, sorry that I didn't want to go through 100s of threads to maybe find a solution.
Figured it out: I needed libalsa2-plugins (something like that). With the audio device set to "default" now I can play MP3 files but videos just make XBMC freeze solid.
Posts: 329
Joined: Apr 2007
Reputation:
0
FYI - IEC958 will pass audio through spdif.
Shorty
Posts: 4,997
Joined: May 2004
Reputation:
12
You can try to "killall -SEGV xbmc.bin" instead, the bt may or may not be useful at that point.
You may also want to try uninstalling portaudio et. al.
Posts: 199
Joined: Feb 2009
Reputation:
6
bobb0
Senior Member
Posts: 199
I know this is old but I just wanted to add that you can get a list of valid device names with the aplay -L command (yes, capital L)
also, if you create any aliases in your .asoundrc or /etc/asound.conf file you can use those as well. for instance, my hdmi port only accepts 48khz audio, so i made a hdmihq alias where i resample all audio to 48k before sending it out the hdmi. (fixed my mp3 playback issue, 44.1k audio was playing back at 48k so everything sounded like it was on low doses of helium)
default should work in most cases for analog
iec958 for digital audio (pcm/ac3/dts passthru)
hdmi for hdmi audio
you can also try dmix, which is alsa's internal mixer