Closes the audio device and frees the memory allocated by the device structure.
Declaration Syntax
Return Value
- # 1 indicates remaining data written correctly and device closed.
- 0 indicates an error while the device was being closed. If this device was writing to a file, the file may be corrupted.