indypants;613381 Wrote: 
> I have copied some WAV files to an SD card and tried the above aplay -D
> hw:1,0 command. I can get the files to play with both S24_LE and
> S24_3LE, but I still get the clicks. When I try S32_LE, I get an error
> message "wrong extended format". My DAC is the Audiolab 8200, which is
> 24bit.
> 
> This is with the buffer still set to 50000 as per the previous
> suggestions, and this asound.conf
> 
> # cat /etc/asound.conf
> pcm.usbdac {
> type hw;
> card 1;
> }
> pcm.plugusb {
> type plug;
> slave.pcm "usbdac";
> }
> ctl.plugusb {
> type hw;
> card 1;
> }
> pcm.!default fab4
> 
> 
> :(
> 
> Are there any other formats to be tried?

You can use something like below to try all formats

for i in  S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE
S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE
IEC95
8_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM
SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE
S18_3LE S1
8_3BE U18_3LE; do aplay -D hw:1,0 -f $i -c2 -r44100 /stop.wav;  done

Remember to replace /stop.wav with your filename.
You may also need to work with the values for -c and -r.

Cheers
JO


-- 
johann
------------------------------------------------------------------------
johann's Profile: http://forums.slimdevices.com/member.php?userid=10177
View this thread: http://forums.slimdevices.com/showthread.php?t=82110

_______________________________________________
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to