ma_stop_proc typedef

DEPRECATED. Use ma_device_notification_proc instead.

The callback for when the device has been stopped.

This will be called when the device is stopped explicitly with ma_device_stop() and also called implicitly when the device is stopped through external forces such as being unplugged or an internal error occurring.

Parameters

pDevice (in) A pointer to the device that has just stopped.

Remarks

Do not restart or uninitialize the device from the callback.

Implementation

typedef ma_stop_proc = ffi.Pointer<ffi.NativeFunction<ma_stop_procFunction>>;