FS-5930 --resolve

This commit is contained in:
Ken Rice 2013-11-02 17:34:16 -05:00
parent b5ac4fdb88
commit 8610c831a1
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
cp->func, cp->file, cp->line, bused, (long)source->samples);
switch_buffer_zero(cp->audio_buffer);
} else {
switch_buffer_write(cp->audio_buffer, dist_buf, bused);
switch_buffer_write(cp->audio_buffer, dist_buf, used);
}
switch_mutex_unlock(cp->audio_mutex);
}