Here you’ll find a test case to reproduce the play issue.
VERSION
Operating System: Ubuntu 10.04 LTS
Kernel: Linux Serveur-Video 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linu
Alsa: Advanced Linux Sound Architecture Driver Version 1.0.24.
Compiled on Feb 8 2012 for kernel 2.6.32-21-generic (SMP).
Installed packages: alsa-lib-1.0.24.1, alsa-driver-1.0.24, alsa-tools-1.0.24.1, alsa-utils-1.0.24.2
SETTINGS
RME MADI (Card #2) Rev.d2 Status2first3bits: 1
HW Serial: 0x000001e62142
IRQ: 16 Registers bus: 0xf9ff0000 VM: 0xffffc900128e0000
--- System ---
IRQ Pending: Audio=0, MIDI0=0, MIDI1=0, IRQcount=6275
HW pointer: id = 0, rawptr = 27648 (3072->3008) estimated= 27648 (bytes)
MIDI FIFO: Out1=0x0, Out2=0x0, In1=0x0, In2=0x0
MIDIoverMADI FIFO: In=0xf, Out=0x0
Register: ctrl1=0x1010ce9, ctrl2=0x0, status1=0xc46c0a, status2=0xc0020161
No TCO module detected.
--- Settings ---
Size (Latency): 1024 samples (2 periods of 4096 bytes)
Line out: on
ClearTrackMarker = off, Transmit in 64 Channel Mode, Auto Input on
AutoSync Reference: AutoSync
Preferred Sync Reference: MADI Sync
System Clock Frequency: 48000
--- Status:
Inputs MADI=Sync, WordClock=NoLock
AutoSync: Reference= MADI Sync, Freq=48000 (MADI = 3, Word = 3)
Input: Optical, Mode=64 channels
TEST
$ aplay -Dplughw:1 /Stockage_1/HDSP_MADI/audio/FLB_Act_Lik_You_Know.wav
Playing WAVE '/Stockage_1/HDSP_MADI/audio/FLB_Act_Lik_You_Know.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
RESULT
KO: the sound is very bad and hatched. The music cannot be recognized.
I’ve tried this test with others OS and ALSA VERSION. The SETTINGS are the same and the TEST too:
Ubuntu 10.04 LTS x86_64 and ALSA 1.0.23 : RESULT OK
Ubuntu 10.04 LTS x86_64 and ALSA 1.0.24 : RESULT KO
Ubuntu 10.04 LTS x86_64 and ALSA 1.0.25 : RESULT KO
Ubuntu 10.04 LTS i686 and ALSA 1.0.23 : RESULT OK
Ubuntu 10.04 LTS i686 and ALSA 1.0.24 : RESULT KO
Ubuntu 10.04 LTS i686 and ALSA 1.0.25 : RESULT KO
CentOS 5.5 i686 and ALSA 1.0.23 : RESULT OK
CentOS 5.5 i686 and ALSA 1.0.24 : RESULT KO
CentOS 5.5 i686 and ALSA 1.0.25 : RESULT KO