diff options
author | Daniel Mack <zonque@users.sourceforge.net> | 2004-06-25 16:19:08 +0000 |
---|---|---|
committer | Daniel Mack <zonque@users.sourceforge.net> | 2004-06-25 16:19:08 +0000 |
commit | 81777646104ed5325477939379f85849f947200e (patch) | |
tree | fc8fd843dc59b7e1194b5ba53a08f3dc355378cc | |
parent | a98eadf09de9e3f7774f54bb98793d10c8c2db58 (diff) | |
download | xine-lib-81777646104ed5325477939379f85849f947200e.tar.gz xine-lib-81777646104ed5325477939379f85849f947200e.tar.bz2 |
- removed a printf() which causes the cause of the printf() to occur more
often which then again causes the printf() again...
- destroy the mutex in ..._close();
CVS patchset: 6746
CVS date: 2004/06/25 16:19:08
-rw-r--r-- | src/audio_out/audio_coreaudio_out.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audio_out/audio_coreaudio_out.c b/src/audio_out/audio_coreaudio_out.c index 1a0277fff..680e7db84 100644 --- a/src/audio_out/audio_coreaudio_out.c +++ b/src/audio_out/audio_coreaudio_out.c @@ -286,7 +286,7 @@ static int ao_coreaudio_write(ao_driver_t *this_gen, int16_t *data, if (this->buf_writepos + (num_frames * this->bytes_per_frame) > BUFSIZE) { /* buffer overflow */ - printf ("CoreAudio: audio buffer overflow!\n"); + //printf ("CoreAudio: audio buffer overflow!\n"); pthread_mutex_unlock (&this->mutex); return 1; } @@ -333,6 +333,8 @@ static void ao_coreaudio_close(ao_driver_t *this_gen) if (this->converter_component) { this->converter_component = NULL; } + + pthread_mutex_destroy (&this->mutex); } static uint32_t ao_coreaudio_get_capabilities (ao_driver_t *this_gen) { |