I'm using the latest svn (17896) version of XBMC, compiled by myself. Overall, it works great. Thanks a lot for your great work.
My hardware is:
Intel DG45ID motherboard, Intel E8400 CPU. Using SPDIF to connect to my
Amplifier which supports AC3/DTS decoding.
I'm using openSUSE 11.1 64bit version.
I enabled Digital output in XBMC and it works without any problem when playing videos with AC3/DTS audio channels. However there is no sound when playing videos with only mp3 encoded audio and any audio discs, even DTS-CD.
Is there anyone know how to fix this problem? Thanks a lot.
My aplay -L output is:
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
aplay -l output is:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
I have no .asoundrc and /etc/alsa.conf file.
mplayer works without problem for all media files by specifying -ao alsa:device=spdif.
Found that changing output device from default to spdif solves the problem.
However playing DTS-CD audio will output just noise and APE audio don't work at all. Is it a bug or unsupported feature?
James, I'm also using openSuSE 11.1 x86_64. I know I struggled a bit getting everything working through SPDIF. Are you using pulseaudio? I actually removed it, and compile xbmc w/ --disable-pulse, and just use alsa. I'll try to look through my config files to give you an example of what I've done to get it working. As of right now I have everything PCM (2 channel) menu sounds and audio, as well as AC3 / DTS passthrough.
I did end up putting this in .asoundrc in my home directory (for the user that runs xbmc):
PHP Code:
pcm.!default {
type hw
card 0
device 1
}
I got the card / device from using aplay -l:
PHP Code:
settop1:/home/bjoneson # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
You might give that a roll and see if it gets you anywhere.
When I was using x64 Ubuntu, I had intermittent problems with the SPDIF dropping out, whenever xbmc crashed or after playing certain files. I would lose all menu sounds and mp3/wav encoded audio.
The most reliable way to get all sound back was to make an .asoundrc file with this:
pcm.!default spdif
Hi,
have tried to just modify the default audio output?
I just put the same as the digital output, and it works perfectly.
If I remember well (I'm at work) mine is iec598.
Mulb
proctor Wrote:When I was using x64 Ubuntu, I had intermittent problems with the SPDIF dropping out, whenever xbmc crashed or after playing certain files. I would lose all menu sounds and mp3/wav encoded audio.
If / when that happens, running "iecset audio on" should fix the issue.