• Home
  • Raw
  • Download

Lines Matching refs:flac_cfg

51 flac_config_t flac_cfg = {  variable
141 g_free(flac_cfg.title.tag_format); in flac_configurewin_ok()
142 flac_cfg.title.tag_format = g_strdup(gtk_entry_get_text(GTK_ENTRY(title_tag_entry))); in flac_configurewin_ok()
143flac_cfg.title.user_char_set = Charset_Get_Name_From_Title(gtk_entry_get_text_1(userCharacterSetEn… in flac_configurewin_ok()
150 xmms_cfg_write_boolean(cfg, "flac", "title.tag_override", flac_cfg.title.tag_override); in flac_configurewin_ok()
151 xmms_cfg_write_string(cfg, "flac", "title.tag_format", flac_cfg.title.tag_format); in flac_configurewin_ok()
152 xmms_cfg_write_boolean(cfg, "flac", "title.convert_char_set", flac_cfg.title.convert_char_set); in flac_configurewin_ok()
153 xmms_cfg_write_string(cfg, "flac", "title.user_char_set", flac_cfg.title.user_char_set); in flac_configurewin_ok()
155 xmms_cfg_write_boolean(cfg, "flac", "output.replaygain.enable", flac_cfg.output.replaygain.enable); in flac_configurewin_ok()
156 …xmms_cfg_write_boolean(cfg, "flac", "output.replaygain.album_mode", flac_cfg.output.replaygain.alb… in flac_configurewin_ok()
157 xmms_cfg_write_int(cfg, "flac", "output.replaygain.preamp", flac_cfg.output.replaygain.preamp); in flac_configurewin_ok()
158 …xmms_cfg_write_boolean(cfg, "flac", "output.replaygain.hard_limit", flac_cfg.output.replaygain.har… in flac_configurewin_ok()
159 …xmms_cfg_write_boolean(cfg, "flac", "output.resolution.normal.dither_24_to_16", flac_cfg.output.re… in flac_configurewin_ok()
160 …xmms_cfg_write_boolean(cfg, "flac", "output.resolution.replaygain.dither", flac_cfg.output.resolut… in flac_configurewin_ok()
161 …xmms_cfg_write_int(cfg, "flac", "output.resolution.replaygain.noise_shaping", flac_cfg.output.reso… in flac_configurewin_ok()
162 …xmms_cfg_write_int(cfg, "flac", "output.resolution.replaygain.bps_out", flac_cfg.output.resolution… in flac_configurewin_ok()
164 flac_cfg.stream.http_buffer_size = (gint) GTK_ADJUSTMENT(streaming_size_adj)->value; in flac_configurewin_ok()
165 flac_cfg.stream.http_prebuffer = (gint) GTK_ADJUSTMENT(streaming_pre_adj)->value; in flac_configurewin_ok()
167 flac_cfg.stream.use_proxy = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_proxy_use)); in flac_configurewin_ok()
168 if(flac_cfg.stream.proxy_host) in flac_configurewin_ok()
169 g_free(flac_cfg.stream.proxy_host); in flac_configurewin_ok()
170 flac_cfg.stream.proxy_host = g_strdup(gtk_entry_get_text(GTK_ENTRY(streaming_proxy_host_entry))); in flac_configurewin_ok()
171 flac_cfg.stream.proxy_port = atoi(gtk_entry_get_text(GTK_ENTRY(streaming_proxy_port_entry))); in flac_configurewin_ok()
173flac_cfg.stream.proxy_use_auth = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_proxy_au… in flac_configurewin_ok()
175 if(flac_cfg.stream.proxy_user) in flac_configurewin_ok()
176 g_free(flac_cfg.stream.proxy_user); in flac_configurewin_ok()
177 flac_cfg.stream.proxy_user = NULL; in flac_configurewin_ok()
179flac_cfg.stream.proxy_user = g_strdup(gtk_entry_get_text(GTK_ENTRY(streaming_proxy_auth_user_entry… in flac_configurewin_ok()
181 if(flac_cfg.stream.proxy_pass) in flac_configurewin_ok()
182 g_free(flac_cfg.stream.proxy_pass); in flac_configurewin_ok()
183 flac_cfg.stream.proxy_pass = NULL; in flac_configurewin_ok()
185flac_cfg.stream.proxy_pass = g_strdup(gtk_entry_get_text(GTK_ENTRY(streaming_proxy_auth_pass_entry… in flac_configurewin_ok()
188flac_cfg.stream.save_http_stream = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_save_u… in flac_configurewin_ok()
189 if (flac_cfg.stream.save_http_path) in flac_configurewin_ok()
190 g_free(flac_cfg.stream.save_http_path); in flac_configurewin_ok()
191 flac_cfg.stream.save_http_path = g_strdup(gtk_entry_get_text(GTK_ENTRY(streaming_save_entry))); in flac_configurewin_ok()
194flac_cfg.stream.cast_title_streaming = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_ca… in flac_configurewin_ok()
195flac_cfg.stream.use_udp_channel = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_udp_tit… in flac_configurewin_ok()
198 xmms_cfg_write_int(cfg, "flac", "stream.http_buffer_size", flac_cfg.stream.http_buffer_size); in flac_configurewin_ok()
199 xmms_cfg_write_int(cfg, "flac", "stream.http_prebuffer", flac_cfg.stream.http_prebuffer); in flac_configurewin_ok()
200 xmms_cfg_write_boolean(cfg, "flac", "stream.use_proxy", flac_cfg.stream.use_proxy); in flac_configurewin_ok()
201 xmms_cfg_write_string(cfg, "flac", "stream.proxy_host", flac_cfg.stream.proxy_host); in flac_configurewin_ok()
202 xmms_cfg_write_int(cfg, "flac", "stream.proxy_port", flac_cfg.stream.proxy_port); in flac_configurewin_ok()
203 xmms_cfg_write_boolean(cfg, "flac", "stream.proxy_use_auth", flac_cfg.stream.proxy_use_auth); in flac_configurewin_ok()
204 if(flac_cfg.stream.proxy_user) in flac_configurewin_ok()
205 xmms_cfg_write_string(cfg, "flac", "stream.proxy_user", flac_cfg.stream.proxy_user); in flac_configurewin_ok()
208 if(flac_cfg.stream.proxy_pass) in flac_configurewin_ok()
209 xmms_cfg_write_string(cfg, "flac", "stream.proxy_pass", flac_cfg.stream.proxy_pass); in flac_configurewin_ok()
212 xmms_cfg_write_boolean(cfg, "flac", "stream.save_http_stream", flac_cfg.stream.save_http_stream); in flac_configurewin_ok()
213 xmms_cfg_write_string(cfg, "flac", "stream.save_http_path", flac_cfg.stream.save_http_path); in flac_configurewin_ok()
215 …xmms_cfg_write_boolean(cfg, "flac", "stream.cast_title_streaming", flac_cfg.stream.cast_title_stre… in flac_configurewin_ok()
216 xmms_cfg_write_boolean(cfg, "flac", "stream.use_udp_channel", flac_cfg.stream.use_udp_channel); in flac_configurewin_ok()
233 flac_cfg.title.tag_override = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(title_tag_override)); in title_tag_override_cb()
235 gtk_widget_set_sensitive(title_tag_box, flac_cfg.title.tag_override); in title_tag_override_cb()
236 gtk_widget_set_sensitive(title_desc, flac_cfg.title.tag_override); in title_tag_override_cb()
243flac_cfg.title.convert_char_set = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(convert_char_set)… in convert_char_set_cb()
246 gtk_widget_set_sensitive(userCharacterSetEntry, flac_cfg.title.convert_char_set); in convert_char_set_cb()
252flac_cfg.output.replaygain.enable = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(replaygain_enab… in replaygain_enable_cb()
254 gtk_widget_set_sensitive(replaygain_album_mode, flac_cfg.output.replaygain.enable); in replaygain_enable_cb()
255 gtk_widget_set_sensitive(replaygain_preamp_hscale, flac_cfg.output.replaygain.enable); in replaygain_enable_cb()
256 gtk_widget_set_sensitive(replaygain_hard_limit, flac_cfg.output.replaygain.enable); in replaygain_enable_cb()
262flac_cfg.output.replaygain.album_mode = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(replaygain_… in replaygain_album_mode_cb()
268flac_cfg.output.replaygain.hard_limit = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(replaygain_… in replaygain_hard_limit_cb()
275 flac_cfg.output.replaygain.preamp = (int) floor(GTK_ADJUSTMENT(replaygain_preamp)->value + 0.5); in replaygain_preamp_cb()
277 g_string_sprintf(gstring, "%i dB", flac_cfg.output.replaygain.preamp); in replaygain_preamp_cb()
284flac_cfg.output.resolution.normal.dither_24_to_16 = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON… in resolution_normal_dither_24_to_16_cb()
290flac_cfg.output.resolution.replaygain.dither = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(reso… in resolution_replaygain_dither_cb()
292 …gtk_widget_set_sensitive(resolution_replaygain_noise_shaping_frame, flac_cfg.output.resolution.rep… in resolution_replaygain_dither_cb()
298 flac_cfg.output.resolution.replaygain.noise_shaping = in resolution_replaygain_noise_shaping_cb()
310 flac_cfg.output.resolution.replaygain.bps_out = in resolution_replaygain_bps_out_cb()
355 flac_cfg.stream.save_http_path, GTK_SELECTION_SINGLE, streaming_save_dirbrowser_cb); in streaming_save_browse_cb()
427 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(convert_char_set), flac_cfg.title.convert_char_set); in FLAC_XMMS__configure()
451 …RY(GTK_COMBO(userCharacterSetEntry)->entry),Charset_Get_Title_From_Name(flac_cfg.title.user_char_s… in FLAC_XMMS__configure()
453 gtk_widget_set_sensitive(userCharacterSetEntry, flac_cfg.title.convert_char_set); in FLAC_XMMS__configure()
458 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(title_tag_override), flac_cfg.title.tag_override); in FLAC_XMMS__configure()
463 gtk_widget_set_sensitive(title_tag_box, flac_cfg.title.tag_override); in FLAC_XMMS__configure()
470 gtk_entry_set_text(GTK_ENTRY(title_tag_entry), flac_cfg.title.tag_format); in FLAC_XMMS__configure()
474 gtk_widget_set_sensitive(title_desc, flac_cfg.title.tag_override); in FLAC_XMMS__configure()
495 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(replaygain_enable), flac_cfg.output.replaygain.enab… in FLAC_XMMS__configure()
500 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(replaygain_album_mode), flac_cfg.output.replaygain.… in FLAC_XMMS__configure()
508 …replaygain_preamp = gtk_adjustment_new(flac_cfg.output.replaygain.preamp, -24.0, +24.0, 1.0, 6.0, … in FLAC_XMMS__configure()
518 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(replaygain_hard_limit), flac_cfg.output.replaygain.… in FLAC_XMMS__configure()
543 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(resolution_normal_dither_24_to_16), flac_cfg.output… in FLAC_XMMS__configure()
556 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(resolution_replaygain_dither), flac_cfg.output.reso… in FLAC_XMMS__configure()
573 if(flac_cfg.output.resolution.replaygain.noise_shaping == 0) in FLAC_XMMS__configure()
579 if(flac_cfg.output.resolution.replaygain.noise_shaping == 1) in FLAC_XMMS__configure()
585 if(flac_cfg.output.resolution.replaygain.noise_shaping == 2) in FLAC_XMMS__configure()
591 if(flac_cfg.output.resolution.replaygain.noise_shaping == 3) in FLAC_XMMS__configure()
605 if(flac_cfg.output.resolution.replaygain.bps_out == 16) in FLAC_XMMS__configure()
611 if(flac_cfg.output.resolution.replaygain.bps_out == 24) in FLAC_XMMS__configure()
637 streaming_size_adj = gtk_adjustment_new(flac_cfg.stream.http_buffer_size, 4, 4096, 4, 4, 4); in FLAC_XMMS__configure()
647 streaming_pre_adj = gtk_adjustment_new(flac_cfg.stream.http_prebuffer, 0, 90, 1, 1, 1); in FLAC_XMMS__configure()
664 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(streaming_proxy_use), flac_cfg.stream.use_proxy); in FLAC_XMMS__configure()
669 gtk_widget_set_sensitive(streaming_proxy_hbox, flac_cfg.stream.use_proxy); in FLAC_XMMS__configure()
676 …gtk_entry_set_text(GTK_ENTRY(streaming_proxy_host_entry), flac_cfg.stream.proxy_host? flac_cfg.str… in FLAC_XMMS__configure()
684 temp = g_strdup_printf("%d", flac_cfg.stream.proxy_port); in FLAC_XMMS__configure()
690 gtk_widget_set_sensitive(streaming_proxy_auth_use, flac_cfg.stream.use_proxy); in FLAC_XMMS__configure()
691 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(streaming_proxy_auth_use), flac_cfg.stream.proxy_us… in FLAC_XMMS__configure()
696 …gtk_widget_set_sensitive(streaming_proxy_auth_hbox, flac_cfg.stream.use_proxy && flac_cfg.stream.p… in FLAC_XMMS__configure()
703 if(flac_cfg.stream.proxy_user) in FLAC_XMMS__configure()
704 gtk_entry_set_text(GTK_ENTRY(streaming_proxy_auth_user_entry), flac_cfg.stream.proxy_user); in FLAC_XMMS__configure()
711 if(flac_cfg.stream.proxy_pass) in FLAC_XMMS__configure()
712 gtk_entry_set_text(GTK_ENTRY(streaming_proxy_auth_pass_entry), flac_cfg.stream.proxy_pass); in FLAC_XMMS__configure()
729 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(streaming_save_use), flac_cfg.stream.save_http_stre… in FLAC_XMMS__configure()
734 gtk_widget_set_sensitive(streaming_save_hbox, flac_cfg.stream.save_http_stream); in FLAC_XMMS__configure()
741 …gtk_entry_set_text(GTK_ENTRY(streaming_save_entry), flac_cfg.stream.save_http_path? flac_cfg.strea… in FLAC_XMMS__configure()
757 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(streaming_cast_title), flac_cfg.stream.cast_title_s… in FLAC_XMMS__configure()
761 …gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(streaming_udp_title), flac_cfg.stream.use_udp_chann… in FLAC_XMMS__configure()