Browse Source

Mixer: Fix aux module broken by group changes.

tags/non-daw-v1.2.0
Jonathan Moore Liles 10 years ago
parent
commit
40352db651
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      mixer/src/AUX_Module.C

+ 3
- 3
mixer/src/AUX_Module.C View File

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


Loading…
Cancel
Save