• Home
  • Raw
  • Download

Lines Matching refs:flac_cfg

190 	flac_cfg.title.tag_override = FALSE;  in FLAC_XMMS__init()
191 if (flac_cfg.title.tag_format) in FLAC_XMMS__init()
192 g_free(flac_cfg.title.tag_format); in FLAC_XMMS__init()
193 flac_cfg.title.convert_char_set = FALSE; in FLAC_XMMS__init()
199 xmms_cfg_read_boolean(cfg, "flac", "title.tag_override", &flac_cfg.title.tag_override); in FLAC_XMMS__init()
201 if(!xmms_cfg_read_string(cfg, "flac", "title.tag_format", &flac_cfg.title.tag_format)) in FLAC_XMMS__init()
202 flac_cfg.title.tag_format = g_strdup("%p - %t"); in FLAC_XMMS__init()
204 xmms_cfg_read_boolean(cfg, "flac", "title.convert_char_set", &flac_cfg.title.convert_char_set); in FLAC_XMMS__init()
206 if(!xmms_cfg_read_string(cfg, "flac", "title.user_char_set", &flac_cfg.title.user_char_set)) in FLAC_XMMS__init()
207 flac_cfg.title.user_char_set = FLAC_plugin__charset_get_current(); in FLAC_XMMS__init()
211 xmms_cfg_read_boolean(cfg, "flac", "output.replaygain.enable", &flac_cfg.output.replaygain.enable); in FLAC_XMMS__init()
213 …xmms_cfg_read_boolean(cfg, "flac", "output.replaygain.album_mode", &flac_cfg.output.replaygain.alb… in FLAC_XMMS__init()
215 if(!xmms_cfg_read_int(cfg, "flac", "output.replaygain.preamp", &flac_cfg.output.replaygain.preamp)) in FLAC_XMMS__init()
216 flac_cfg.output.replaygain.preamp = 0; in FLAC_XMMS__init()
218 …xmms_cfg_read_boolean(cfg, "flac", "output.replaygain.hard_limit", &flac_cfg.output.replaygain.har… in FLAC_XMMS__init()
220 …xmms_cfg_read_boolean(cfg, "flac", "output.resolution.normal.dither_24_to_16", &flac_cfg.output.re… in FLAC_XMMS__init()
221 …xmms_cfg_read_boolean(cfg, "flac", "output.resolution.replaygain.dither", &flac_cfg.output.resolut… in FLAC_XMMS__init()
223 …if(!xmms_cfg_read_int(cfg, "flac", "output.resolution.replaygain.noise_shaping", &flac_cfg.output.… in FLAC_XMMS__init()
224 flac_cfg.output.resolution.replaygain.noise_shaping = 1; in FLAC_XMMS__init()
226 …if(!xmms_cfg_read_int(cfg, "flac", "output.resolution.replaygain.bps_out", &flac_cfg.output.resolu… in FLAC_XMMS__init()
227 flac_cfg.output.resolution.replaygain.bps_out = 16; in FLAC_XMMS__init()
231 xmms_cfg_read_int(cfg, "flac", "stream.http_buffer_size", &flac_cfg.stream.http_buffer_size); in FLAC_XMMS__init()
232 xmms_cfg_read_int(cfg, "flac", "stream.http_prebuffer", &flac_cfg.stream.http_prebuffer); in FLAC_XMMS__init()
233 xmms_cfg_read_boolean(cfg, "flac", "stream.use_proxy", &flac_cfg.stream.use_proxy); in FLAC_XMMS__init()
234 if(flac_cfg.stream.proxy_host) in FLAC_XMMS__init()
235 g_free(flac_cfg.stream.proxy_host); in FLAC_XMMS__init()
236 if(!xmms_cfg_read_string(cfg, "flac", "stream.proxy_host", &flac_cfg.stream.proxy_host)) in FLAC_XMMS__init()
237 flac_cfg.stream.proxy_host = g_strdup(""); in FLAC_XMMS__init()
238 xmms_cfg_read_int(cfg, "flac", "stream.proxy_port", &flac_cfg.stream.proxy_port); in FLAC_XMMS__init()
239 xmms_cfg_read_boolean(cfg, "flac", "stream.proxy_use_auth", &flac_cfg.stream.proxy_use_auth); in FLAC_XMMS__init()
240 if(flac_cfg.stream.proxy_user) in FLAC_XMMS__init()
241 g_free(flac_cfg.stream.proxy_user); in FLAC_XMMS__init()
242 flac_cfg.stream.proxy_user = NULL; in FLAC_XMMS__init()
243 xmms_cfg_read_string(cfg, "flac", "stream.proxy_user", &flac_cfg.stream.proxy_user); in FLAC_XMMS__init()
244 if(flac_cfg.stream.proxy_pass) in FLAC_XMMS__init()
245 g_free(flac_cfg.stream.proxy_pass); in FLAC_XMMS__init()
246 flac_cfg.stream.proxy_pass = NULL; in FLAC_XMMS__init()
247 xmms_cfg_read_string(cfg, "flac", "stream.proxy_pass", &flac_cfg.stream.proxy_pass); in FLAC_XMMS__init()
248 xmms_cfg_read_boolean(cfg, "flac", "stream.save_http_stream", &flac_cfg.stream.save_http_stream); in FLAC_XMMS__init()
249 if (flac_cfg.stream.save_http_path) in FLAC_XMMS__init()
250 g_free (flac_cfg.stream.save_http_path); in FLAC_XMMS__init()
251 …g_read_string(cfg, "flac", "stream.save_http_path", &flac_cfg.stream.save_http_path) || ! *flac_cf… in FLAC_XMMS__init()
252 if (flac_cfg.stream.save_http_path) in FLAC_XMMS__init()
253 g_free (flac_cfg.stream.save_http_path); in FLAC_XMMS__init()
254 flac_cfg.stream.save_http_path = homedir(); in FLAC_XMMS__init()
256 …xmms_cfg_read_boolean(cfg, "flac", "stream.cast_title_streaming", &flac_cfg.stream.cast_title_stre… in FLAC_XMMS__init()
257 xmms_cfg_read_boolean(cfg, "flac", "stream.use_udp_channel", &flac_cfg.stream.use_udp_channel); in FLAC_XMMS__init()
300 if(stream_data_.has_replaygain && flac_cfg.output.replaygain.enable) { in FLAC_XMMS__play_file()
301 if(flac_cfg.output.resolution.replaygain.bps_out == 8) { in FLAC_XMMS__play_file()
305 else if(flac_cfg.output.resolution.replaygain.bps_out == 16) { in FLAC_XMMS__play_file()
311 …fprintf(stderr, "libxmms-flac: can't handle %d bit output\n", flac_cfg.output.resolution.replaygai… in FLAC_XMMS__play_file()
321 …else if(stream_data_.bits_per_sample == 16 || (stream_data_.bits_per_sample == 24 && flac_cfg.outp… in FLAC_XMMS__play_file()
332 …_data_.dither_context, stream_data_.sample_format_bytes_per_sample * 8, flac_cfg.output.resolution… in FLAC_XMMS__play_file()
615 if(stream_data->has_replaygain && flac_cfg.output.replaygain.enable) { in write_callback_()
626 flac_cfg.output.replaygain.hard_limit, in write_callback_()
627 flac_cfg.output.resolution.replaygain.dither, in write_callback_()
675 …if(grabbag__replaygain_load_from_vorbiscomment(metadata, flac_cfg.output.replaygain.album_mode, /*… in metadata_callback_()
677 …in_compute_scale_factor(peak, gain, (double)flac_cfg.output.replaygain.preamp, /*prevent_clipping=… in metadata_callback_()