aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index d933f6c7e..ffc3aa781 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -18,6 +18,7 @@
*/
#include "decoder_internal.h"
+#include "decoder_list.h"
#include "audio.h"
#include "utils.h"
@@ -25,6 +26,16 @@
#include "playerData.h"
#include "gcc.h"
+void decoder_plugin_register(struct decoder_plugin *plugin)
+{
+ decoder_plugin_load(plugin);
+}
+
+void decoder_plugin_unregister(struct decoder_plugin *plugin)
+{
+ decoder_plugin_unload(plugin);
+}
+
void decoder_initialized(struct decoder * decoder,
const AudioFormat * audio_format,
float total_time)