summaryrefslogtreecommitdiff
path: root/apps/menus/recording_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/recording_menu.c')
-rw-r--r--apps/menus/recording_menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c
index 4d9f24d643..6fd1de8834 100644
--- a/apps/menus/recording_menu.c
+++ b/apps/menus/recording_menu.c
@@ -91,7 +91,7 @@ static int recsource_func(void)
91#endif 91#endif
92 92
93 return set_option(str(LANG_RECORDING_SOURCE), 93 return set_option(str(LANG_RECORDING_SOURCE),
94 &global_settings.rec_source, INT, names, 94 &global_settings.rec_source, RB_INT, names,
95 n_opts, NULL ); 95 n_opts, NULL );
96} 96}
97MENUITEM_FUNCTION(recsource, 0, ID2P(LANG_RECORDING_SOURCE), 97MENUITEM_FUNCTION(recsource, 0, ID2P(LANG_RECORDING_SOURCE),
@@ -171,7 +171,7 @@ static int recfrequency_func(void)
171 } 171 }
172 172
173 ret = set_option(str(LANG_FREQUENCY), 173 ret = set_option(str(LANG_FREQUENCY),
174 &rec_frequency, INT, opts, n_opts, NULL ); 174 &rec_frequency, RB_INT, opts, n_opts, NULL );
175 175
176 if (!ret 176 if (!ret
177 HAVE_SPDIF_REC_( && global_settings.rec_source != REC_SRC_SPDIF) 177 HAVE_SPDIF_REC_( && global_settings.rec_source != REC_SRC_SPDIF)
@@ -221,7 +221,7 @@ static int recchannels_func(void)
221 make_options_from_indexes(names, table, n_opts, opts); 221 make_options_from_indexes(names, table, n_opts, opts);
222 222
223 ret = set_option(str(LANG_CHANNELS), &rec_channels, 223 ret = set_option(str(LANG_CHANNELS), &rec_channels,
224 INT, opts, n_opts, NULL ); 224 RB_INT, opts, n_opts, NULL );
225 225
226 if (!ret) 226 if (!ret)
227 global_settings.rec_channels = table[rec_channels]; 227 global_settings.rec_channels = table[rec_channels];
@@ -241,7 +241,7 @@ static int recmonomode_func(void)
241 241
242 int rec_mono_mode = global_settings.rec_mono_mode; 242 int rec_mono_mode = global_settings.rec_mono_mode;
243 bool ret = set_option(str(LANG_RECORDING_MONO_MODE), &rec_mono_mode, 243 bool ret = set_option(str(LANG_RECORDING_MONO_MODE), &rec_mono_mode,
244 INT, names, 3, NULL ); 244 RB_INT, names, 3, NULL );
245 245
246 if (rec_mono_mode != global_settings.rec_mono_mode) 246 if (rec_mono_mode != global_settings.rec_mono_mode)
247 global_settings.rec_mono_mode = rec_mono_mode; 247 global_settings.rec_mono_mode = rec_mono_mode;
@@ -261,7 +261,7 @@ static int recformat_func(void)
261 }; 261 };
262 262
263 int rec_format = global_settings.rec_format; 263 int rec_format = global_settings.rec_format;
264 bool res = set_option(str(LANG_FORMAT), &rec_format, INT, 264 bool res = set_option(str(LANG_FORMAT), &rec_format, RB_INT,
265 names, REC_NUM_FORMATS, NULL ); 265 names, REC_NUM_FORMATS, NULL );
266 266
267 if (rec_format != global_settings.rec_format) 267 if (rec_format != global_settings.rec_format)