diff options
author | Max Kellermann <max@duempel.org> | 2008-10-10 14:40:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-10 14:40:54 +0200 |
commit | de2cb3f37568e7680549057f8d7b6d748c388480 (patch) | |
tree | 46f9f43a1f83b49945c8a4fc77f933fad9230e01 /src/inputPlugins/mod_plugin.c | |
parent | 6101dc6c768b09dbcdc1840a84b619a5a6a20129 (diff) | |
download | mpd-de2cb3f37568e7680549057f8d7b6d748c388480.tar.gz mpd-de2cb3f37568e7680549057f8d7b6d748c388480.tar.xz mpd-de2cb3f37568e7680549057f8d7b6d748c388480.zip |
audio_format: renamed sampleRate to sample_rate
The last bit of CamelCase in audio_format.h. Additionally, rename a
bunch of local variables.
Diffstat (limited to 'src/inputPlugins/mod_plugin.c')
-rw-r--r-- | src/inputPlugins/mod_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c index 9ae9cef16..98bd67f0f 100644 --- a/src/inputPlugins/mod_plugin.c +++ b/src/inputPlugins/mod_plugin.c @@ -186,12 +186,12 @@ static int mod_decode(struct decoder * decoder, char *path) } audio_format.bits = 16; - audio_format.sampleRate = 44100; + audio_format.sample_rate = 44100; audio_format.channels = 2; secPerByte = 1.0 / ((audio_format.bits * audio_format.channels / 8.0) * - (float)audio_format.sampleRate); + (float)audio_format.sample_rate); decoder_initialized(decoder, &audio_format, 0); |