mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-01 13:22:40 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5495 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
796b476330
commit
8845bdaba9
@ -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,
|
if ((samples = ReadAudioStream(globals.audio_stream, globals.read_frame.data,
|
||||||
globals.read_codec.implementation->samples_per_frame,
|
globals.read_codec.implementation->samples_per_frame,
|
||||||
&globals.timer)) == 0) {
|
&globals.timer)) == 0) {
|
||||||
|
switch_mutex_unlock(globals.device_lock);
|
||||||
goto cng;
|
goto cng;
|
||||||
} else {
|
} else {
|
||||||
globals.read_frame.datalen = samples * 2;
|
globals.read_frame.datalen = samples * 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user