Availability: SunOS.
This module allows you to access the Sun audio interface. The Sun
audio hardware is capable of recording and playing back audio data
in u-LAW
The module
SUNAUDIODEV
This module defines the following variables and functions:
'r'
for record-only access, 'w'
for play-only
access, 'rw'
for both and 'control'
for access to the
control device. Since only one process is allowed to have the recorder
or player open at the same time it is a good idea to open the device
only for the activity needed. See audio(7I) for details.
As per the manpage, this module first looks in the environment
variable AUDIODEV
for the base audio device filename. If not
found, it falls back to /dev/audio. The control device is
calculated by appending ``ctl'' to the base audio device.