From d1169d6e974ad097f209af87773f30108c4a19e7 Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Fri, 27 May 2011 18:09:06 -0400 Subject: [PATCH] mod_portaudio_stream: update to specify the channel index --- src/mod/formats/mod_portaudio_stream/mod_portaudio_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/formats/mod_portaudio_stream/mod_portaudio_stream.c b/src/mod/formats/mod_portaudio_stream/mod_portaudio_stream.c index 1ad1645554..b7e49e9e24 100644 --- a/src/mod/formats/mod_portaudio_stream/mod_portaudio_stream.c +++ b/src/mod/formats/mod_portaudio_stream/mod_portaudio_stream.c @@ -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);