From 40352db651acd10fa333eecf2018d33b017ab91d Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 24 Aug 2013 17:45:42 -0700 Subject: [PATCH] Mixer: Fix aux module broken by group changes. --- mixer/src/AUX_Module.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mixer/src/AUX_Module.C b/mixer/src/AUX_Module.C index 0c6f46f..04fcf37 100644 --- a/mixer/src/AUX_Module.C +++ b/mixer/src/AUX_Module.C @@ -122,7 +122,7 @@ AUX_Module::process ( nframes_t nframes ) for ( unsigned int i = 0; i < audio_input.size(); ++i ) { if ( audio_input[i].connected() ) - buffer_copy_and_apply_gain_buffer( (sample_t*)aux_audio_output[i].buffer(), (sample_t*)audio_input[i].buffer(), gainbuf, nframes ); + buffer_copy_and_apply_gain_buffer( (sample_t*)aux_audio_output[i].jack_port()->buffer(nframes), (sample_t*)audio_input[i].buffer(), gainbuf, nframes ); } } @@ -131,7 +131,7 @@ AUX_Module::process ( nframes_t nframes ) for ( unsigned int i = 0; i < audio_input.size(); ++i ) { if ( audio_input[i].connected() ) - buffer_copy_and_apply_gain( (sample_t*)aux_audio_output[i].buffer(), (sample_t*)audio_input[i].buffer(), nframes, gt ); + buffer_copy_and_apply_gain( (sample_t*)aux_audio_output[i].jack_port()->buffer(nframes), (sample_t*)audio_input[i].buffer(), nframes, gt ); } } } @@ -140,7 +140,7 @@ AUX_Module::process ( nframes_t nframes ) for ( unsigned int i = 0; i < audio_input.size(); ++i ) { if ( audio_input[i].connected() ) - buffer_fill_with_silence( (sample_t*)aux_audio_output[i].buffer(), nframes ); + buffer_fill_with_silence( (sample_t*)aux_audio_output[i].jack_port()->buffer(nframes), nframes ); } } }