aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mod_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mod_plugin.c4
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);