Remove references to audio_rate_step.

Not used anymore.
This commit is contained in:
Themaister 2013-04-14 13:21:12 +02:00
parent a6f3210593
commit 882b7ee889
4 changed files with 0 additions and 9 deletions

View File

@ -329,9 +329,6 @@ static const bool audio_enable = true;
// Output samplerate
static const unsigned out_rate = 48000;
// When changing input rate on-the-fly
static const float audio_rate_step = 0.25;
// Audio device (e.g. hw:0,0 or /dev/audio). If NULL, will use defaults.
static const char *audio_device = NULL;

View File

@ -201,7 +201,6 @@ struct settings
bool enable;
unsigned out_rate;
float in_rate;
float rate_step;
char device[PATH_MAX];
unsigned latency;
bool sync;

View File

@ -149,9 +149,6 @@
# Audio output samplerate.
# audio_out_rate = 48000
# When altering audio_in_rate on-the-fly, define by how much each time.
# audio_rate_step = 0.25
# Audio driver backend. Depending on configuration possible candidates are: alsa, pulse, oss, jack, rsound, roar, openal, sdl, xaudio.
# audio_driver =

View File

@ -191,7 +191,6 @@ void config_set_defaults(void)
g_settings.audio.enable = audio_enable;
g_settings.audio.out_rate = out_rate;
g_settings.audio.in_rate = out_rate;
g_settings.audio.rate_step = audio_rate_step;
if (audio_device)
strlcpy(g_settings.audio.device, audio_device, sizeof(g_settings.audio.device));
g_settings.audio.latency = out_latency;
@ -595,7 +594,6 @@ bool config_load_file(const char *path)
// Audio settings.
CONFIG_GET_BOOL(audio.enable, "audio_enable");
CONFIG_GET_INT(audio.out_rate, "audio_out_rate");
CONFIG_GET_FLOAT(audio.rate_step, "audio_rate_step");
CONFIG_GET_STRING(audio.device, "audio_device");
CONFIG_GET_INT(audio.latency, "audio_latency");
CONFIG_GET_BOOL(audio.sync, "audio_sync");