mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
mod_portaudio_stream: update to specify the channel index
This commit is contained in:
1 parent
1078f77f42
commit
d1169d6e97
1 file changed
+1
-1
@@ -285,7 +285,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
||||
samples = 0;
|
||||
switch_mutex_lock(source->device_lock);
|
||||
samples = ReadAudioStream(source->audio_stream, source->databuf,
|
||||
source->read_codec.implementation->samples_per_packet, &source->timer);
|
||||
source->read_codec.implementation->samples_per_packet, 0, &source->timer);
|
||||
switch_mutex_unlock(source->device_lock);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user