Open Sound System
|Do you have problems with sound/audio application development? Don't panic! Click here for help!|
The osstest applet is a simple test application that can be used to test functionality of the sound hardware installed in the system.
osstest performs a playback test for each installed audio device. If there are any "machine detectable" problems they will be reported. You will first hear an audio sample played on the left speaker, then the right speaker and finally in stereo on both speakers.
It's user's responsibility to listen if the test sound is audible. If no sound output can be heard the possible reason is one of the following:
If no errors were reported and the test sound was audible it means that OSS and your sound hardware is functioning correctly. If you still encounter problems with some sound applications the reason is almost certainly in the application. Check it's configuration or try to use another equivivalent application.
If you are having problems with JDS, KDE and/or Gnome system sounds, you need to make sure that OSS gets started before the GUI environment. Refer to your operating system's startup procedures.
The osstest utility measures a sample rate drift value after playing back the test sound. Ideally it should be 0% but in practice there will be an error of few percents. 0% means that the 48000 Hz test file was played exactly at 48000 Hz sampling rate.
The sample rate measurement is based on the system timer which has limited precision. It's likely that less than 1% differenc between the nominal and the measured sampling rates are actually caused by an error in the measurement. For this reason the drift reported by osstest should not be used as any kind of quality measurement. However if the drift is very large it means that there is something wrong in the system. The oscillator chip used with the sound chip is broken or the system clock is running at a wrong speed.
The osstest utility is located in the /usr/bin directory. It can be run manually to test functionality of OSS and your sound hardware. When invoked without any command line parameters osstest performs the default test on all devices. However it will skip some of the devices base on the following rules.