alDisconnect(3dm) alDisconnect(3dm)
NAME
alDisconnect - 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).
DESCRIPTION
alDisconnect removes a connection between two resources.
DIAGNOSTICS
alDisconnect 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:
ALBADRESOURCE
res does not exist.
ALBADDEVICEACCESS
The audio system is not present or improperly configured.
SEE ALSO
oserror(3C), alIntro(3dm), alConnect(3dm)
Page 1