audio_format: renamed sampleRate to sample_rate

The last bit of CamelCase in audio_format.h.  Additionally, rename a
bunch of local variables.
This commit is contained in:
Max Kellermann
2008-10-10 14:40:54 +02:00
parent 6101dc6c76
commit de2cb3f375
27 changed files with 96 additions and 97 deletions

View File

@@ -40,7 +40,7 @@ Timer *timer_new(const struct audio_format *af)
timer = xmalloc(sizeof(Timer));
timer->time = 0;
timer->started = 0;
timer->rate = af->sampleRate * (af->bits / CHAR_BIT) * af->channels;
timer->rate = af->sample_rate * (af->bits / CHAR_BIT) * af->channels;
return timer;
}