The WAVETST test application uses the Wave Device, WaveIn Format, and WaveOut Format menus in addition to File and Test. The Wave Device menu displays a list of devices that can be used during the test. WAVETST looks for any wave drivers loaded by MMSYSTEM and adds them to this menu.
The WaveIn Format and WaveOut Format menus display a list of wave formats used for the wave data. Any wave formats not supported by a device driver will be dimmed on the menu. Wave file data used by WAVETST does not need to match the format selected. WAVETST converts the data to the appropriate format. The following formats are available:
Command | Description |
WAVE_FORMAT_1M08 | Selects an 11 kHz mono wave format with 8 data bits. |
WAVE_FORMAT_1S08 | Selects an 11 kHz stereo wave format with 8 data bits. |
WAVE_FORMAT_1M16 | Selects an 11 kHz mono wave format with 16 data bits. |
WAVE_FORMAT_1S16 | Selects an 11 kHz stereo wave format with 16 data bits. |
WAVE_FORMAT_2M08 | Selects a 22 kHz mono wave format with 8 data bits. |
WAVE_FORMAT_2S08 | Selects a 22 kHz stereo wave format with 8 data bits. |
WAVE_FORMAT_2M16 | Selects a 22 kHz mono wave format with 16 data bits. |
WAVE_FORMAT_2S16 | Selects a 22 kHz stereo wave format with 16 data bits. |
WAVE_FORMAT_4M08 | Selects a 44 kHz mono wave format with 8 data bits. |
WAVE_FORMAT_4S08 | Selects a 44 kHz stereo wave format with 8 data bits. |
WAVE_FORMAT_4M16 | Selects a 44 kHz mono wave format with 16 data bits. |
WAVE_FORMAT_4S16 | Selects a 44 kHz stereo wave format with 16 data bits. |
The WAVETST test application requires three wave files for operation: SHORT.WAV, MEDIUM.WAV, and LONG.WAV. You can replace these wave files with files that are more applicable to your application. If you replace them, your new files must have the following characteristics:
The files must use one of the twelve formats listed in the previous table.
All three wave files must be of the same format (files included with the DDK have the format WAVE_FORMAT_1M08).
SHORT.WAV must be about 1/8 second long, MEDIUM.WAV must be about 2.5 seconds long, and LONG.WAV must be about 11 seconds long.
The files must all reside in the same directory.
WAVETST looks for the test wave files in the directory specified for the Resource/Input Path. To change the wave files used during a test, update this path to the directory containing the new wave files and select a format from the WaveOut Format menu.