Sound -- Low-Level Sound Library
The Sound library provides facility to record and play back sound using low-level sound APIs (ALSA on Linux, CoreAudio and AudioToolbox on Mac OS X).
Header Files
- SoundDataFormat.h
- SoundDataFormat is a structure to represent sound data formats (sample resolution, number of channels, sample rate, etc.) in an API-independent format.
- ALSAPCMDevice.h
- Abstraction class for PCM devices as represented by the Advanced Linux Sound Architecture (ALSA) library. This class only exists on Linux, and only if sound support was enabled in the Vrui makefile.
- SoundRecorder.h
- SoundRecorder is a simple class to record sound from a sound capture device to a sound file in several supported formats. The class currently supports raw and WAV files under Linux, and WAV and AIFF files under Mac OS X.
- SoundPlayer.h
- SoundPlayer is a simple class to play sonud from a sound file on a sound playback device.