summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins.c1
-rw-r--r--plugins/dsp_libsrc/src.c5
-rw-r--r--streamer.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/plugins.c b/plugins.c
index bc26713e..238d6524 100644
--- a/plugins.c
+++ b/plugins.c
@@ -794,6 +794,7 @@ plug_load_all (void) {
g_decoder_plugins[numdecoders] = NULL;
g_vfs_plugins[numvfs] = NULL;
g_output_plugins[numoutput] = NULL;
+ g_dsp_plugins[numdsp] = NULL;
g_playlist_plugins[numplaylist] = NULL;
// select output plugin
diff --git a/plugins/dsp_libsrc/src.c b/plugins/dsp_libsrc/src.c
index 0e71ef6e..81ea9120 100644
--- a/plugins/dsp_libsrc/src.c
+++ b/plugins/dsp_libsrc/src.c
@@ -209,8 +209,9 @@ ddb_dsp_src_t plugin = {
.dsp.process = ddb_src_process,
.dsp.plugin.version_major = 0,
.dsp.plugin.version_minor = 1,
- .dsp.plugin.id = "dsp_src",
- .dsp.plugin.name = "dsp_src",
+ .dsp.plugin.type = DB_PLUGIN_DSP,
+ .dsp.plugin.id = "SRC",
+ .dsp.plugin.name = "Secret Rabbit Code",
.dsp.plugin.descr = "Samplerate converter using libsamplerate",
.dsp.plugin.author = "Alexey Yakovenko",
.dsp.plugin.email = "waker@users.sf.net",
diff --git a/streamer.c b/streamer.c
index 34cfb2eb..a4569994 100644
--- a/streamer.c
+++ b/streamer.c
@@ -1132,7 +1132,7 @@ streamer_init (void) {
decodemutex = mutex_create ();
// find src plugin, and use it if found
- srcplug = (ddb_dsp_src_t*)plug_get_for_id ("dsp_src");
+ srcplug = (ddb_dsp_src_t*)plug_get_for_id ("SRC");
if (srcplug) {
src = srcplug->dsp.open ("strm_src");
src->next = dsp_chain;