static const ALCchar <your-device>_device[] = <your-device-name>;
ALCboolean alc_<your-device>_init(BackendFuncs *func_list)
void alc_<your-device>_deinit(void)
static ALCboolean <your-device>_open_playback
(ALCdevice *device,const ALCchar *deviceName)
static void <your-device>_close_playback(ALCdevice *device)
static ALCboolean <your-device>_reset_playback(ALCdevice *device)
static void <your-device>_stop_playback(ALCdevice *device)
void alc_<your-device>_probe(enum DevProbe type)
{
switch(type)
{
case DEVICE_PROBE:
AppendDeviceList(<your-device>Device);
break;
case ALL_DEVICE_PROBE:
AppendAllDeviceList(<your-device>Device);
break;
case CAPTURE_DEVICE_PROBE:
break;
}
}
static const BackendFuncs <your-device>_funcs = {
<your-device>_open_playback,
<your-device>_close_playback,
<your-device>_reset_playback,
<your-device>_stop_playback,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
};