RCS file: /cvsroot/mplayer/main/libao2/ao_alsa.c,v
retrieving revision 1.10
diff -u -r1.10 ao_alsa.c
|
|
|
|
| 741 | 741 | if (alsa_handler) { |
| 742 | 742 | int err; |
| 743 | 743 | |
| | 744 | if (!immed) |
| | 745 | snd_pcm_drain(alsa_handler); |
| | 746 | |
| 744 | 747 | if (!ao_noblock) { |
| 745 | 748 | if ((err = snd_pcm_drop(alsa_handler)) < 0) |
| 746 | 749 | { |
RCS file: /cvsroot/mplayer/main/libao2/ao_dsound.c,v
retrieving revision 1.5
diff -u -r1.5 ao_dsound.c
|
|
|
|
| 495 | 495 | */ |
| 496 | 496 | static void uninit(int immed) |
| 497 | 497 | { |
| | 498 | if (immed) |
| 498 | 499 | reset(); |
| 499 | 500 | DestroyBuffer(); |
| 500 | 501 | UninitDirectSound(); |
RCS file: /cvsroot/mplayer/main/libao2/ao_nas.c,v
retrieving revision 1.16
diff -u -r1.16 ao_nas.c
|
|
|
|
| 481 | 481 | mp_msg(MSGT_AO, MSGL_DBG3, "ao_nas: uninit()\n"); |
| 482 | 482 | |
| 483 | 483 | nas_data->expect_underrun = 1; |
| | 484 | if (!immed) |
| 484 | 485 | while (nas_data->state != AuStateStop) usleep(1000); |
| 485 | 486 | nas_data->stop_thread = 1; |
| 486 | 487 | pthread_join(nas_data->event_thread, NULL); |
RCS file: /cvsroot/mplayer/main/libao2/ao_sdl.c,v
retrieving revision 1.38
diff -u -r1.38 ao_sdl.c
|
|
|
|
| 293 | 293 | static void uninit(int immed){ |
| 294 | 294 | mp_msg(MSGT_AO,MSGL_V,"SDL: Audio Subsystem shutting down!\n"); |
| 295 | 295 | if (!immed) |
| 296 | | while(buf_free() < BUFFSIZE - CHUNK_SIZE) |
| 297 | | usec_sleep(50000); |
| | 296 | usec_sleep(get_delay() * 1000 * 1000); |
| 298 | 297 | SDL_CloseAudio(); |
| 299 | 298 | SDL_QuitSubSystem(SDL_INIT_AUDIO); |
| 300 | 299 | } |
RCS file: /cvsroot/mplayer/main/libao2/ao_sgi.c,v
retrieving revision 1.8
diff -u -r1.8 ao_sgi.c
|
|
|
|
| 126 | 126 | mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AO_SGI_Uninit); |
| 127 | 127 | |
| 128 | 128 | if (ao_port) { |
| | 129 | if (!immed) |
| 129 | 130 | while(alGetFilled(ao_port) > 0) sginap(1); |
| 130 | 131 | alClosePort(ao_port); |
| 131 | 132 | alFreeConfig(ao_config); |