static void myshutdown() { xmp_smix_off(); if (s) pa_simple_free(s); }
static void shutdown (struct xmp_context *ctx) { xmp_smix_off (ctx); sio_close (hdl); hdl = NULL; }
static void myshutdown() { player->Stop(); xmp_smix_off(); be_app->Lock(); be_app->Quit(); }
static void myshutdown(struct xmp_context *ctx) { xmp_smix_off(ctx); if (audio_fd) close(audio_fd); }
static void myshutdown(struct xmp_context *ctx) { while (!info.finished) { nas_flush(); } xmp_smix_off(ctx); AuDestroyFlow(info.aud, info.flow, NULL); AuCloseServer(info.aud); free(info.buf); }
static void deinit(struct xmp_context *ctx) { int i; xmp_smix_off(ctx); if (hwaveout) { for (i = 0; i < num_buffers; i++) { if (header[i].dwFlags & WHDR_PREPARED) waveOutUnprepareHeader(hwaveout, &header[i], sizeof(WAVEHDR)); free(buffer[i]); } while (waveOutClose(hwaveout) == WAVERR_STILLPLAYING) Sleep(10); hwaveout = NULL; } }
static void myshutdown(struct xmp_context *ctx) { xmp_smix_off(ctx); close(fd_audio); }
static void shutdown(struct xmp_context *ctx) { xmp_smix_off(ctx); ALcloseport(audio_port); }
static void dshutdown(struct xmp_context *ctx) { xmp_smix_off(ctx); snd_pcm_close(pcm_handle); }
static void dshutdown() { xmp_smix_off(); snd_pcm_close(pcm_handle); free(mybuffer); }
static void myshutdown () { xmp_smix_off (); close (fd_audio); }