![Vlsi VS1005 Manual Download Page 41](http://html.mh-extra.com/html/vlsi/vs1005/vs1005_manual_1042919041.webp)
HH
VS1005 VSOS A
UDIO
S
UBSYSTEM
VS1005g
9
Audio Control Programs
These programs are useful for displaying and changing audio parameters, as well as
debugging audio interfaces. They are parts of the AuControl solution.
9.1
Control Program AUINPUT.DL3
Usage: AuInput [-ddrv|-pfp|-rrate|-bbits|-sbufsize|chconf|-v|+v-h]
-ddrv
Connect to audio driver DRV.DL3
-pfp
Set output audio driver pointer to fp (use with caution!)
-rrate Set sample rate to rate
-bbits Number of bits (16 or 32)
-sbufSz Set buffer size to bufSz 16-bit words
-v|+v
Verbose on|off
chconf Audio channel config (only with AUIADC driver, see definitions below)
-h
Show this help
chconf needs either one stereo element, or one left and one right element.
Stereo elements:
- fm
Left elements:
- line1_1, line2_1, line3_1, mic1, dia1
Right elements:
- line1_2, line2_2, line3_2, line1_3, mic2, dia2, dia3
Example:
auinput line1_1 line1_3
AUINPUT lets the user display control several parameters of
stdaudioin
, or any unlocked
audio input driver, or file pointer if it is known. If used with the analog input driver
AUIADC (Chapter 7.4.1), AUINPUT can also be used to configure the input channels’
multiplexers.
If called without any command line arguments that change a value, AUINPUT will display
the status of the audio driver as shown below
S:>auinput
stdaudioin:
0x203a, auii2ss::audioFile=3171(0xc63)
->Identify(): 0x3b4f, auxsyncs::Identify returns "AUXSYNCS"
->op:
0x2041, auii2ss::audioFileOps=0(0x0)
->Ioctl():
0x3992, auxsyncs::AudioIoctl
->Read():
0x38cf, auii2ss::AudioRead
Sample rate:
48000
Bits per sample: 16
Buffer size:
512 16-bit words (256 16-bit stereo samples)
Buffer fill:
508 16-bit words (254 16-bit stereo samples)
Rev. 3.57
2019-04-10
Page