summaryrefslogtreecommitdiff
path: root/plugins/sid
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-23 16:19:06 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-23 16:19:06 +0100
commit6b39d96bcbac546c103ebf5c7fbf676a71ae6ff1 (patch)
treea8caf02ceea9a2729e5ffa151fc28c567756a9fb /plugins/sid
parent4ef57de537972b6c0f10da984fa78910b09c2194 (diff)
correct samplerate setting for synth-plugins
Diffstat (limited to 'plugins/sid')
-rw-r--r--plugins/sid/csid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sid/csid.cpp b/plugins/sid/csid.cpp
index 74d3423f..081f8c7b 100644
--- a/plugins/sid/csid.cpp
+++ b/plugins/sid/csid.cpp
@@ -291,7 +291,7 @@ csid_init (DB_playItem_t *it) {
// resid->create (1);
info->resid->filter (true);
- int samplerate = deadbeef->get_output ()->samplerate ();
+ int samplerate = deadbeef->conf_get_int ("synth.samplerate", 48000);
int bps = deadbeef->get_output ()->bitspersample ();
info->resid->sampling (samplerate);