comparison src/audacious/audconfig.c @ 4523:b3e4f5c31546

Conditional USE_SRC was changed to USE_SAMPLERATE earlier.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 Apr 2008 03:43:15 +0300
parents 6e412073cf28
children 8465e73d5584
comparison
equal deleted inserted replaced
4522:8f36cce36fef 4523:b3e4f5c31546
25 25
26 #ifdef HAVE_CONFIG_H 26 #ifdef HAVE_CONFIG_H
27 # include "config.h" 27 # include "config.h"
28 #endif 28 #endif
29 29
30 #ifdef USE_SRC 30 #ifdef USE_SAMPLERATE
31 # include <samplerate.h> 31 # include <samplerate.h>
32 #endif 32 #endif
33 33
34 #include "audconfig.h" 34 #include "audconfig.h"
35 35
169 .replay_gain_album = FALSE, /* album mode */ 169 .replay_gain_album = FALSE, /* album mode */
170 .enable_adaptive_scaler = FALSE, 170 .enable_adaptive_scaler = FALSE,
171 .replay_gain_preamp = 0.0, 171 .replay_gain_preamp = 0.0,
172 .default_gain = -9.0, 172 .default_gain = -9.0,
173 .saved_volume = 0x6464, /* for both channels; 0x64=100 */ 173 .saved_volume = 0x6464, /* for both channels; 0x64=100 */
174 #ifdef USE_SRC 174 #ifdef USE_SAMPLERATE
175 .enable_src = FALSE, /* enable resampling */ 175 .enable_src = FALSE, /* enable resampling */
176 .src_rate = 48000, /* samplerate */ 176 .src_rate = 48000, /* samplerate */
177 .src_type = SRC_SINC_BEST_QUALITY, /* default interpolation method */ 177 .src_type = SRC_SINC_BEST_QUALITY, /* default interpolation method */
178 #endif 178 #endif
179 .bypass_dsp = FALSE, 179 .bypass_dsp = FALSE,
277 {"enable_replay_gain", &cfg.enable_replay_gain, TRUE}, 277 {"enable_replay_gain", &cfg.enable_replay_gain, TRUE},
278 {"enable_clipping_prevention", &cfg.enable_clipping_prevention, TRUE}, 278 {"enable_clipping_prevention", &cfg.enable_clipping_prevention, TRUE},
279 {"replay_gain_track", &cfg.replay_gain_track, TRUE}, 279 {"replay_gain_track", &cfg.replay_gain_track, TRUE},
280 {"replay_gain_album", &cfg.replay_gain_album, TRUE}, 280 {"replay_gain_album", &cfg.replay_gain_album, TRUE},
281 {"enable_adaptive_scaler", &cfg.enable_adaptive_scaler, TRUE}, 281 {"enable_adaptive_scaler", &cfg.enable_adaptive_scaler, TRUE},
282 #ifdef USE_SRC 282 #ifdef USE_SAMPLERATE
283 {"enable_src", &cfg.enable_src, TRUE}, 283 {"enable_src", &cfg.enable_src, TRUE},
284 #endif 284 #endif
285 {"bypass_dsp", &cfg.bypass_dsp, TRUE}, 285 {"bypass_dsp", &cfg.bypass_dsp, TRUE},
286 }; 286 };
287 287
320 {"colorize_r", &cfg.colorize_r, TRUE}, 320 {"colorize_r", &cfg.colorize_r, TRUE},
321 {"colorize_g", &cfg.colorize_g, TRUE}, 321 {"colorize_g", &cfg.colorize_g, TRUE},
322 {"colorize_b", &cfg.colorize_b, TRUE}, 322 {"colorize_b", &cfg.colorize_b, TRUE},
323 {"output_bit_depth", &cfg.output_bit_depth, TRUE}, 323 {"output_bit_depth", &cfg.output_bit_depth, TRUE},
324 {"saved_volume", &cfg.saved_volume, TRUE}, 324 {"saved_volume", &cfg.saved_volume, TRUE},
325 #ifdef USE_SRC 325 #ifdef USE_SAMPLERATE
326 {"src_rate", &cfg.src_rate, TRUE}, 326 {"src_rate", &cfg.src_rate, TRUE},
327 {"src_type", &cfg.src_type, TRUE}, 327 {"src_type", &cfg.src_type, TRUE},
328 #endif 328 #endif
329 }; 329 };
330 330