passthru(1)                                                        passthru(1)


NAME
     passthru - pass audio sample data from an input port to an output port

SYNOPSIS
     passthru [-h][-v][-n nchannels][-s samplefmt][-r rate]
          [-b blksize][-q qsize][-e]

DESCRIPTION
     Passthru opens an audio input port and an output port, and connects them.
     Command line options allow the user to experiment with the various audio
     port parameters.

     -h   help: print out a list of command line options and their
          descriptions

     -v   verbose: output to stdout

     -n   number of channels: 1 = mono, 2 = stereo

     -s   sample format: 8, 16, or 24 bit

     -r   sample rate: 48000, 44100, 32000, etc

     -b   transfer blocksize: specify value in sample FRAMES

     -q   queuesize for each of the two audio ports: specify value in SAMPLES

     -e   error reporting: display error status of audio ports

     Larger transfer blocksizes decrease the CPU load but they also cause
     larger latency from input and output.

FILES
     Source code for passthru is installed here:
     /usr/share/src/dmedia/audio/passthru.c

SEE ALSO
     apanel


                                                                        Page 1