diff options
author | 2010-01-23 16:19:06 +0100 | |
---|---|---|
committer | 2010-01-23 16:19:06 +0100 | |
commit | 6b39d96bcbac546c103ebf5c7fbf676a71ae6ff1 (patch) | |
tree | a8caf02ceea9a2729e5ffa151fc28c567756a9fb /cgme.c | |
parent | 4ef57de537972b6c0f10da984fa78910b09c2194 (diff) |
correct samplerate setting for synth-plugins
Diffstat (limited to 'cgme.c')
-rw-r--r-- | cgme.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ cgme_init (DB_playItem_t *it) { DB_fileinfo_t *_info = malloc (sizeof (gme_info_t)); gme_info_t *info = (gme_info_t*)_info; memset (_info, 0, sizeof (gme_info_t)); - int samplerate = deadbeef->get_output ()->samplerate (); + int samplerate = deadbeef->conf_get_int ("synth.samplerate", 48000); if (gme_open_file (it->fname, &info->emu, samplerate)) { plugin.free (_info); return NULL; |