Linux AudioEngine testers - Linux only
Hi guys, Im having trouble playing some 2 channel, 44.1khz, 16bit flac files, while others work fine. On the troublesome files my receiver acts as if the audio signal is lost or changed every 2 - 10 seconds.

My setup is debian squeeze with xbmc 12.0-ALPHA4 Git:20120724-8d978da. Hardware is intel core2duo, nvidia 210 gfx card. Audio out is onboard intel HDA connected through coax spdif to rotel rsp 1066 pre-amp.

The files seems pretty similar:

Code:
[email protected]:~/tmp$ file fail/fail.flac okay/okay.flac
fail/fail.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 10930332 samples
okay/okay.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 14052024 samples

aplay -l
Code:
[email protected]:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
Code:
[email protected]:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC888 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output

I have audiophile and allow 44 transcode activated in advancedsettings.xml, but i tried disabling both options, it didnt fix the issue

Code:
<audio>
    <audiophile>1</audiophile>
    <allowtranscode44100>1</allowtranscode44100>
  </audio>

Just for the record, the files i play are located on NFS, since my htpc has no local storage. It is pxe-booted and mounts root via nfs. I see the same issue when files are played through smb/cifs.

Here is the debug log while playing the failing file:
http://xbmclogs.com/show.php?id=5657

And here is the debug log while playing the okay file:
http://xbmclogs.com/show.php?id=5658

I can play the failing file without problems using mplayer:
Code:
[email protected]:~/tmp/fail$ mplayer -ao alsa:device=default fail.flac
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
mplayer: could not open config files /home/xbmc/.lircrc and /etc/lirc//lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing fail.flac.
Audio only file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 792.3 kbit/56.14% (ratio: 99039->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  29.8 (29.7) of 247.0 (04:07.0)  0.8%

MPlayer interrupted by signal 2 in module: play_audio
A:  29.8 (29.8) of 247.0 (04:07.0)  0.8%
Exiting... (Quit)

It also plays fine directly out through the spdif:
Code:
[email protected]:~/tmp/fail$ mplayer -ao alsa:device=iec958 fail.flac
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
mplayer: could not open config files /home/xbmc/.lircrc and /etc/lirc//lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing fail.flac.
Audio only file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 792.3 kbit/56.14% (ratio: 99039->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  30.3 (30.3) of 247.0 (04:07.0)  0.3%

MPlayer interrupted by signal 2 in module: play_audio
A:  30.4 (30.3) of 247.0 (04:07.0)  0.3%
Exiting... (Quit)

If necessary I can provide a sample of the failing file .. and ofcause any other useful debug information that can help Smile

Thanks in advance.
Reply
 
Thread Rating:
  • 4 Vote(s) - 5 Average


Messages In This Thread
Almost there, but still no HD - by OkvOkv - 2012-04-17, 03:54
AudioEngine testers - Linux only - by Ritzie - 2012-05-12, 18:36
RE: AudioEngine testers - Linux only - by krip - 2012-07-27, 00:09


Logout Mark Read Team Forum Stats Members Help
AudioEngine testers - Linux only54