alDisconnect(3dm)alDisconnect(3dm)NAMEalDisconnect - delete a connection between two audio I/O resources
SYNOPSIS
#include <dmedia/audio.h>
int alDisconnect(int res)
PARAMETER
res expects the resource ID of the connection to be destroyed. This is
the return value of a call to alConnect(3dm).
DESCRIPTIONalDisconnect removes a connection between two resources.
DIAGNOSTICSalDisconnect returns 0 if successful. If the disconnect fails,
alDisconnect returns -1 and sets an error code to be retrieved by
oserror(3C). This error code is one of:
AL_BAD_RESOURCE
res does not exist.
AL_BAD_DEVICE_ACCESS
The audio system is not present or improperly configured.
SEE ALSOoserror(3C), alIntro(3dm), alConnect(3dm)
Page 1