Commit 3fe46f29 authored by Jérome Decoodt's avatar Jérome Decoodt

Set the preamp value on a preset change

parent 9ceb12b9
......@@ -284,6 +284,7 @@ static vlc_bool_t GetFiltersStatus( intf_thread_t *p_intf,
for( i = 0; i < 10; i++ )
sprintf( psz_values, "%s %.1f", psz_values, eqz_preset_10b[[sender indexOfSelectedItem]]->f_amp[i] );
var_SetString( p_object, "equalizer-bands", psz_values );
var_SetFloat( p_object, "equalizer-preamp", eqz_preset_10b[[sender indexOfSelectedItem]]->f_preamp);
[o_slider_preamp setFloatValue: eqz_preset_10b[[sender indexOfSelectedItem]]->f_preamp];
[o_slider_band1 setFloatValue: eqz_preset_10b[[sender indexOfSelectedItem]]->f_amp[0]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment