Topic: Linux_HDSPe AES_arecord_recording
Dear Support Team:
We just tested a HDSPe AES card in linux, and with the alsa tools the arecord(version is 1.0.14rc4, installed with alsa driver)
But we had problem that we used arecord to save the pcm data and listen in windows with goldwave, there are discontinue and noisy.
We analysed the PCM data further, and found that maybe (and we not sure) one channel data is lost and appears discontinue, and the lost data was insert into the other one, and made it sounds noisy.
So, we have some question about HDSPe AES card,
1/ can we use arecord directly in linux or should be set some config before use it ?
2/ can "arecord -c 2" only save channel 1 and channel 2?
3/ What's the PCM data structure if i use “arecord -c 2” and “arecord -c 8”.
4/ any example code to save pcm data for us?
Our test platform is:
The Operating System : Centos 5.2
Kernel :Linux localhost 2.6.25 #1 SMP Wed Nov 3 16:48:51 CST 2010 i686 i686 i386 GNU/Linux.
BTW:
with command :
#cat /proc/asound/card0/hdspm
we can get:
Word: Sync Frequency: 48000
AES1: Sync Frequency: 48000
AES2: Sync Frequency: 48000
AES3: Sync Frequency: 48000
AES4: Sync Frequency: 48000
AES5: No Lock Frequency: 0
AES6: No Lock Frequency: 0
AES7: No Lock Frequency: 0
AES8: No Lock Frequency: 0
AutoSync ref = Word =