All Databases
Inside Mac - Sound Mgr
SPBCloseDevice
SPBCloseDevice
Close a sound input device
#include <
SoundInput.h
>
Sound Manager
OSErr
SPBCloseDevice
(
inRefNum
);
long
inRefNum
; a device reference number
returns
Error Code
; 0=no error
The
SPBCloseDevice
function closes a device that was previously opened by
SPBOpenDevice
.
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
Referenced by (5):
Recording Sounds Directly From a Device
Sound Recording
Sound Manager (Inside Mac - Index)
Recording Sounds Directly From a Device (Inside Mac - Sound Mgr)
Sound Recording (Inside Mac - Sound Mgr)