SPBCloseDevice
SPBCloseDevice Close a sound input device
#include <SoundInput.h> Sound Manager
long inRefNum; a device reference number
returns Error Code; 0=no error
The SPBCloseDevice function closes a device that was previously opened by
inRefNum; the reference number of the open sound input device
Returns: an operating system Error Code.
noErr (0) No error
siBadRefNum (-229) Invalid reference number