AFCreatePhoneAC(3)

NAME
AFCreatePhoneAC - create an audio context for a phone device

SYNTAX
#include <AF/AFlib.h>

AC AFCreatePhoneAC (AFAudioConn *aud, unsigned long valuemask,
                        AFSetACAttributes *attributes)

ARGUMENTS

aud Specifies the connection to the audio server.

valuemask
    Specifies which attributes in the AC are to be set or modifed. Its value is a bitwise inclusive OR of zero or more valid AC component mask bits (ACRecordGain, ACPlayGain, ACPreemption, ACStartTimeout, ACEndSilence, ACEncodingType, ACChannels, and ACEndian).

attributes
    Provides any values specified by the valuemask.

DESCRIPTION
checks the device list and returns an audio context for the phone device if one exists. If there is no phone device, it returns NULL.

NOTES
The only phone device supported is DECaudio and DECaudio with the TelePort.

SEE ALSO
AFChangeACAttributes(3), AFCreateAC(3), AFFreeAC(3),
AAudioDeviceDescriptor(3),
AF(1)

BUGS
If you encounter a reproducible bug, please submit a problem report to (af-bugs@crl.dec.com).

COPYRIGHT
Copyright 1990-1994, Digital Equipment Corporation.
See AF(1) for a full statement of rights and permissions.

AUTHORS
Digital Cambridge Research Lab