Ajv(1) Ajv(1)
NAME
Ajv - a network-transparent audio server for JVideo.
SYNOPSIS
The AF audio server is a network transparent system developed at Digital
CRL. for using JVideo audio hardware in a distributed environment.
DESCRIPTION
Ajv is an AF server with JVideo device dependent support.
STARTING UP
Ajv [:portOffset] [options] &
OPTIONS
-help
Use the help switch to determine device independent arguments.
-device device
Specifies the name of the JVideo audio special device file. If this
switch is not used, the Ajv audio server will default to the device
specified by the AUDIO_DEVICE environment variable or the /dev/jva0
device.
-ukernel lodfile
Specifies an alternate DSP56001 absolute lodfile. If ukernel is not
specified, the server checks for the AF_UKERNEL environment variable.
If neither the switch nor the AF_UKERNEL environment is used, the
server looks for the path DIR/Ajvmain.lod where DIR is the LODPATH
environment variable if it exists, otherise it is the config variable
LODDIR.
-hrate <#>
Causes the server to set the audio hardware sampling rate. The
default sampling rate is 8000 Hz. The JVideo hardware supports 8000,
16000, 22000, 32000, 44100, and 48000 Hz rates.
AUDIO DEVICES
The Ajv audio server presents three audio devices to client applications.
These audio devices map to the audio hardware using stereo data, left chan-
nel only, and right channel only. The sampling rate of the audio devices
is set by the hrate switch. The supported audio data type is LIN16 for all
sample rates, unlike the Ajv server in the previous release.
CONNECTION NAME
From the user's prospective, every AF server has an audio connection of the
form:
hostname:portOffset
This information is used by the application to determine how it should con-
nect to the server.
hostname
The hostname specifies the name of the machine to which the audio
device is physically connected.
portOffset
The portOffset is used to identify the audio server's port on host-
name. For example, to simultaneously run two audio servers on a
given host, you might select 0 or 1 for portOffset.
If the connection name to an audio server is not specified, then the
environment variables AUDIOFILE or DISPLAY will be used.
ACCESS CONTROL
The sample server provides two types of access control: an authorization
protocol which provides a list of ``magic cookies'' clients can send to
request access, and a list of hosts from which connections are always
accepted.
BUGS
If you encounter a repeatable bug, please submit a problem report to af-
bugs@crl.dec.com and include the source code if possible.
SEE ALSO
AF(1), Aaxp(1), Amaxine(1), Alofi(1), Ajv(1), Amsb(1), Aj300(1), aplay(1),
arecord(1), apass(1), aset(1), abrowse(1), afft(1), ahost(1), aphone(1),
aprop(1), ahs(1), axset(1), xpow(1), afxctl(1), aname2num(1), alsatoms(1),
aevents(1), abob(1)
COPYRIGHT
See the COPYRIGHTS file.
Copyright 1991-1994, Digital Equipment Corporation and the Massachusetts
Institute of Technology.
AUTHORS
Digital Cambridge Research Lab