summaryrefslogtreecommitdiff
path: root/plugins/ao
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-23 14:04:43 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-23 14:04:43 +0200
commit886dca87c46502de6dc7ca5a78acfb8e1b259890 (patch)
tree2ca74b4cc7ad17861c9f6e067df14a7301ed3581 /plugins/ao
parente500400f8a60c3d0656896fb035f3cc1cec5a1f7 (diff)
added ddb_ prefix to dumb, shn and ao plugins;
ao has been renamed to ddb_aopsf; tweaked sources and makefiles to simplify compiling out of tree
Diffstat (limited to 'plugins/ao')
-rw-r--r--plugins/ao/Makefile4
-rw-r--r--plugins/ao/main.c2
-rw-r--r--plugins/ao/plugin.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/ao/Makefile b/plugins/ao/Makefile
index df3b9fd3..d188294d 100644
--- a/plugins/ao/Makefile
+++ b/plugins/ao/Makefile
@@ -1,6 +1,6 @@
-OUT=ao.so
+OUT=ddb_aopsf.so
-CC=gcc
+CC?=gcc
ZLIB_LIBS?=-lz
diff --git a/plugins/ao/main.c b/plugins/ao/main.c
index a4da36d0..18067410 100644
--- a/plugins/ao/main.c
+++ b/plugins/ao/main.c
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "../../deadbeef.h"
+#include <deadbeef/deadbeef.h>
#include "ao.h"
#include "eng_protos.h"
diff --git a/plugins/ao/plugin.c b/plugins/ao/plugin.c
index ebef512e..65b3e1c8 100644
--- a/plugins/ao/plugin.c
+++ b/plugins/ao/plugin.c
@@ -18,7 +18,7 @@
*/
#include <stdlib.h>
#include <string.h>
-#include "../../deadbeef.h"
+#include <deadbeef/deadbeef.h>
#include "ao.h"
#include "eng_protos.h"
@@ -350,8 +350,8 @@ static DB_decoder_t plugin = {
.plugin.version_minor = 0,
.plugin.type = DB_PLUGIN_DECODER,
.plugin.id = "psf",
- .plugin.name = "Audio Overload plugin",
- .plugin.descr = "psf, psf2, spu, ssf, minidsf player based on Audio Overload library",
+ .plugin.name = "PSF player using Audio Overload SDK",
+ .plugin.descr = "plays psf, psf2, spu, ssf, dsf, qsf file formats",
.plugin.copyright =
"Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n"
"\n"
@@ -387,7 +387,7 @@ static DB_decoder_t plugin = {
};
DB_plugin_t *
-ao_load (DB_functions_t *api) {
+ddb_aopsf_load (DB_functions_t *api) {
deadbeef = api;
return DB_PLUGIN (&plugin);
}