1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-23 03:33:48 +00:00

mod_portaudio_stream: update to specify the channel index

This commit is contained in:
Moises Silva 2011-05-27 18:09:06 -04:00
parent 1078f77f42
commit d1169d6e97

@ -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);