SunVTS 3.0 User's Guide

Command Line Test Example

The following example shows the audiotest running from the command line with a combination of standard command-line arguments (-vf) and test specific options (-o M,X)


# /opt/SUNWvts/bin/audiotest -vf -p1 -o M,X
"Test Options: M,X"
"audiotest: Started."
"rec_play: read/write 8000 bytes"
"Audio music test"
"Audio crystal test, rate = 8000 Hz, time = 998289 usecs"
"Audio crystal test, rate = 48000 Hz, time = 999974 usecs"
"Starting loopback test: internal_codec"
"Play Gain = 230, Record Gain = 0"
"Sample Rate =  8000 Hz, Freq = 1000 Hz  MONO u-law"
"	snr = 40.59 dB"
"Sample Rate =  8000 Hz, Freq = 1000 Hz  MONO a-law"
"	snr = 44.79 dB"
"Sample Rate =  8000 Hz, left = 1000 Hz,  right = 1000
Hz"
"left  : snr = 68.25 dB, gain = -4.99 dB"
"right : snr = 68.32 dB, gain = -5.07 dB"
"audiotest: Stopped successfully."


Note -

Refer to "Running a Test From the Command Line (Tutorial)" and to the SunVTS 3.0 Test Reference Manual for more command line details.