alDisconnect(3dm) alDisconnect(3dm)
alDisconnect - delete a connection between two audio I/O resources
#include <dmedia/audio.h>
int alDisconnect(int res)
res expects the resource ID of the connection to be destroyed. This is
the return value of a call to alConnect(3dm).
alDisconnect removes a connection between two resources.
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:
AL_BAD_RESOURCE [Toc] [Back]
res does not exist.
AL_BAD_DEVICE_ACCESS [Toc] [Back]
The audio system is not present or improperly configured.
oserror(3C), alIntro(3dm), alConnect(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|