On 29/09/06, YongLi <sdshliyong@xxxxxxx> wrote: > If I perform this command: > > cat test.txt > /dev/dsp > That command does not specifiy to /dev/dsp what format the file is. I.e 8 bit audio or 16bit audio. The OSS api specifies a default assumed value. Now, if the sound card itself cannot handle the assumed value, it will automatically adjust the format so that some sound plays. As I said before, use aplay instead of cat. James ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel