void *sndtype_get_info_ptr(sound_type sndtype, UINT32 state) { sndinfo info; VERIFY_SNDTYPE(sndtype_get_info_ptr); info.p = NULL; (*sndintrf[sndtype].get_info)(NULL, state, &info); return info.p; }
const char *sndtype_get_info_string(int sndtype, UINT32 state) { sndinfo info; VERIFY_SNDTYPE(sndtype_get_info_string); info.s = NULL; (*sndintrf[sndtype].get_info)(NULL, state, &info); return info.s; }
INT64 sndtype_get_info_int(sound_type sndtype, UINT32 state) { sndinfo info; VERIFY_SNDTYPE(sndtype_get_info_int); info.i = 0; (*sndintrf[sndtype].get_info)(NULL, state, &info); return info.i; }
genf *sndtype_get_info_fct(int sndtype, UINT32 state) { sndinfo info; VERIFY_SNDTYPE(sndtype_get_info_fct); info.f = NULL; (*sndintrf[sndtype].get_info)(NULL, state, &info); return info.f; }