From 8845bdaba94b3c9dedd2e118f4238d2a7290ae45 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 3 Jul 2007 15:12:56 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5495 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index b3dc44defd..e949936f6d 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -619,7 +619,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch if ((samples = ReadAudioStream(globals.audio_stream, globals.read_frame.data, globals.read_codec.implementation->samples_per_frame, &globals.timer)) == 0) { - + switch_mutex_unlock(globals.device_lock); goto cng; } else { globals.read_frame.datalen = samples * 2;