@@ -120,14 +120,10 @@ pub struct Preference {
120120#[ from( "UISettingRecorder" ) ]
121121pub struct Recorder {
122122 pub save_dir : String ,
123- pub remove_temporary_files : bool ,
124123
125124 #[ derivative( Default ( value = "true" ) ) ]
126125 pub include_cursor : bool ,
127126
128- #[ derivative( Default ( value = "true" ) ) ]
129- pub enable_preview : bool ,
130-
131127 pub enable_denoise : bool ,
132128
133129 pub convert_to_mono : bool ,
@@ -147,21 +143,21 @@ crate::impl_slint_enum_serde!(UIResolution, Original, P720, P1080, P2K, P4K);
147143#[ from( "UISettingControl" ) ]
148144pub struct Control {
149145 pub screen : String ,
150- pub input_audio : String ,
146+ pub audio : String ,
151147
152148 // db
153149 #[ derivative( Default ( value = "0.0" ) ) ]
154- pub input_audio_gain : f32 ,
150+ pub audio_gain : f32 ,
155151
156152 #[ derivative( Default ( value = "true" ) ) ]
157- pub enable_input_audio : bool ,
153+ pub enable_audio : bool ,
158154
159155 // db
160156 #[ derivative( Default ( value = "0.0" ) ) ]
161- pub desktop_speaker_gain : f32 ,
157+ pub speaker_gain : f32 ,
162158
163159 #[ derivative( Default ( value = "true" ) ) ]
164- pub enable_desktop_speaker : bool ,
160+ pub enable_speaker : bool ,
165161}
166162
167163impl Config {
0 commit comments