Hi, The attached patch does the following: 1. Add time/gain display in verbose mode (gain display code taken from ossrecord). 2. Convert mu-law/A-law/other endians to standard formats (S16_NE, S32_NE) when neccesary to do so for gain to work. 3. Don't call SNDCTL_DSP_SYNC at end of playing each file, since it doesn't work well with loop mode when playing a single file and I didn't find any problems with the line commented out.
The only negative I found is that when playing a particular file in verbose mode, http://www.fileupyours.com/view/77985/a.wav there's an annoying background noise (which doesn't exist in "regular" playing), but I didn't manage to track the problem down. Yours, Yair K.
ossplay-verbose.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel