diff options
Diffstat (limited to 'src/decoder/plugins/FluidsynthDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/FluidsynthDecoderPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx index 3eaf1d67e..e92c1c306 100644 --- a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx +++ b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx @@ -74,7 +74,7 @@ fluidsynth_mpd_log_function(int level, char *message, gcc_unused void *data) static bool fluidsynth_init(const ConfigBlock &block) { - sample_rate = block.GetBlockValue("sample_rate", 48000u); + sample_rate = block.GetPositiveValue("sample_rate", 48000u); CheckSampleRate(sample_rate); soundfont_path = block.GetBlockValue("soundfont", |