static void DS_PlayStop(void) { do_update = 0; if (pSoundBuffer) IDirectSoundBuffer_Stop(pSoundBuffer); VC_PlayStop(); }
static void WSS_PlayStop(void) { wss.timer_callback = NULL; wss_output(FALSE); wss_stop_dma(); VC_PlayStop(); }
static void DS_PlayStop(void) { do_update = 0; if (pSoundBuffer) pSoundBuffer->lpVtbl->Stop(pSoundBuffer); VC_PlayStop(); }
static void ALSA_PlayStop(void) { VC_PlayStop(); #ifdef OLD_ALSA alsa_pcm_flush_playback(pcm_h); #else alsa_pcm_pause(pcm_h, 1); #endif }
void MD_PlayStop(void) { /* safety valve, prevents calling playStop when playstart hasn't been called: */ if (gModIsPlaying) { gModIsPlaying = 0; // md_driver->PlayStop(); VC_PlayStop(); } }
static void Sun_PlayStop(void) { struct audio_info audioinfo; VC_PlayStop(); if (ioctl(sndfd, AUDIO_DRAIN) < 0) return; AUDIO_INITINFO(&audioinfo); audioinfo.play.pause = 1; ioctl(sndfd, AUDIO_SETINFO, &audioinfo); }
static void ESD_PlayStop(void) { if (sndfd>=0) { /* silence buffers */ VC_SilenceBytes(audiobuffer,ESD_BUF_SIZE); esd_writebuf(sndfd,audiobuffer,ESD_BUF_SIZE); audiobuffer_init(); signal(SIGPIPE,SIG_DFL); } VC_PlayStop(); }
static void DS_PlayStop(void) { do_update = 0; VC_PlayStop(); }
static void PSP_PlayStop(void) { playing = 0; VC_PlayStop(); }
static void WIN_PlayStop(void) { if (hwaveout) waveOutReset(hwaveout); VC_PlayStop(); }
static void ALSA_PlayStop(void) { VC_PlayStop(); alsa_pcm_flush_playback(pcm_h); }
static void GP32_PlayStop(void) { gp_clearRingbuffer(); VC_PlayStop(); }
static void ALSA_PlayStop(void) { VC_PlayStop(); if (pcm_h) alsa_pcm_drop(pcm_h); }
static void NDS_SW_PlayStop(void) { VC_PlayStop(); MikMod9_SendCommand(NDS_SW_CMD_STOP << 28); }
static void PSP_PlayStop(void) { osl_modPlaying = 0; VC_PlayStop(); }
static void ANDROID_PlayStop(void) { playing = 0; VC_PlayStop(); }
static void XAudio2_PlayStop(void) { do_update = 0; if (pSourceVoice) IXAudio2SourceVoice_Stop(pSourceVoice, 0, 0); VC_PlayStop(); }