use_wave_gain = mwindow->session->use_wave_gain;
use_vect_gain = mwindow->session->use_vect_gain;
use_smooth = mwindow->session->use_smooth;
use_wave_gain = mwindow->session->use_wave_gain;
use_vect_gain = mwindow->session->use_vect_gain;
use_smooth = mwindow->session->use_smooth;
mwindow->session->use_wave_gain = use_wave_gain;
mwindow->session->use_vect_gain = use_vect_gain;
mwindow->session->use_smooth = use_smooth;
mwindow->session->use_wave_gain = use_wave_gain;
mwindow->session->use_vect_gain = use_vect_gain;
mwindow->session->use_smooth = use_smooth;