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
1 changed files with 1 additions and 1 deletions

View File

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