Hi, The attached patch does the following: !) Merge ossplay and ossrecord into a single executable ('ossplay' which is symlinked to 'ossrecord'). Behaviour is decided by looking at argv[0]. Reason is that if a graphical interface is ever written, we'll probably want to have both play and record in the same app. 2) Add IMA-ADPCM decoding, header variations for WAVs and AIFCs are supported. 3) Add AIFF writer. 4) Various misc. changes.
P.S. I've noticed several issues with soundcard.h: 1. Use of C++ comments. 2. long long type is used once (oss_midi_time_t typedef) without OSS_NO_LONG_LONG define to shield it. 3. OSS_DEVNODE_SIZE is a narrow fit. e.g. "/dev/oss/usb046d08a9-1/pcmin0" is 30 chars + 1 for null. Yours, Yair K.
oss-merge-ossplay-and-ossrecord.diff.bz2
Description: BZip2 compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel