tplay is a buffered audio player for Linux 2.0 or newer, Solaris and BSD's. RIFF/WAVE (WAV) and Sun audio (AU) file headers are recognized. This is still considered BETA software and may not work as expected. Please mail me for bug reports, opinions or suggestions.
RIFF/WAVE (WAV) and Sun audio (AU) file headers are recognised, too.
Buffer size is defaulted to 512k. It is about 3 seconds CD audio (44100Hz/sample, 16bytes, stereo). If filename is not given, standard input is used. If -x (or --swap) flag is set, the byte order of audio sample is swapped before playing. The default is little endian or big endian according to hardware and it is guessed by configure script.
Option -r (or --raw) forces tplay to handle the sample as an raw PCM audio sample. Sun audio or WAV headers are ignored.
· Supported OS with audio card support
· POSIX thread library
· Audio card
What's New in This Release:
· Richard Wilson modified WAV-file stuff to detect copyright text in the end of a sample. usleep() is also replaced with select().