From de2cb3f37568e7680549057f8d7b6d748c388480 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Oct 2008 14:40:54 +0200 Subject: audio_format: renamed sampleRate to sample_rate The last bit of CamelCase in audio_format.h. Additionally, rename a bunch of local variables. --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timer.c') diff --git a/src/timer.c b/src/timer.c index f8bbacdc..84c03fbe 100644 --- a/src/timer.c +++ b/src/timer.c @@ -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; } -- cgit v1.2.3