alFreeConfig(3dm) alFreeConfig(3dm)
NAME
alFreeConfig - deallocates an audio ALconfig structure
SYNOPSIS
#include <dmedia/audio.h>
int alFreeConfig(ALconfig config)
PARAMETER
config expects an ALconfig structure, the returned value of
alNewConfig(3dm) or alGetConfig(3dm).
DESCRIPTION
alFreeConfig(3dm) deallocates an ALconfig structure. alFreeConfig(3dm)
does not affect any port you might have opened using this ALconfig
structure.
DIAGNOSTICS
Upon successful completion, alFreeConfig(3dm) returns 0. Otherwise
alFreeConfig(3dm) returns -1 and sets an error number which can be
retrieved using oserror(3C).
alFreeConfig(3dm) can fail for the following reason:
ALBADCONFIG config is either invalid or null.
SEE ALSO
alNewConfig(3dm), alGetConfig(3dm), alClosePort(3dm), oserror(3C)
Page 1