This function closes a device by name.
Syntax
[System.Security.SuppressUnmanagedCodeSecurity]
public static
bool CloseDevice (
IntPtr device)
Parameters
- device
- a pointer to an opened device
Returns
True will be returned on success or False on failure. Closing a device will fail if the device contains any contexts or buffers.
Remarks
Requirements
Namespace: OpenTK.Audio.OpenAL
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0