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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user