static void winmm_output_cancel(void *data) { struct winmm_output *wo = data; winmm_stop(wo); }
static void winmm_output_cancel(struct audio_output *ao) { struct winmm_output *wo = (struct winmm_output *)ao; winmm_stop(wo); }
static void winmm_output_drain(void *data) { struct winmm_output *wo = data; if (!winmm_drain_all_buffers(wo, NULL)) winmm_stop(wo); }
static void winmm_output_drain(struct audio_output *ao) { struct winmm_output *wo = (struct winmm_output *)ao; if (!winmm_drain_all_buffers(wo, NULL)) winmm_stop(wo); }