diff options
author | 2011-11-03 18:58:50 +0100 | |
---|---|---|
committer | 2011-11-03 18:58:50 +0100 | |
commit | d565d295038bc65e06d4be871183dae9fcf3f823 (patch) | |
tree | 561adcd27a1feda2d10048074bdd732bf4696366 /plugins | |
parent | 095c21789c8210f5e51452b83b8e4b3caa6989dd (diff) | |
parent | 9e4a5021eb7bd880b90fde42b6b19bbeda7ffd01 (diff) |
Merge branch 'master' into devel
Conflicts:
configure.ac
scripts/quickinstall.sh
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/aac/aac.c | 2 | ||||
-rw-r--r-- | plugins/ao/Makefile | 33 | ||||
-rw-r--r-- | plugins/ao/Makefile.am | 27 | ||||
-rw-r--r-- | plugins/ao/main.c | 2 | ||||
-rw-r--r-- | plugins/ao/plugin.c | 2 | ||||
-rw-r--r-- | plugins/artwork/Makefile.am | 9 | ||||
-rw-r--r-- | plugins/artwork/artwork.c | 77 | ||||
-rw-r--r-- | plugins/dumb/Makefile.am (renamed from plugins/dumb/Makefile) | 53 | ||||
-rw-r--r-- | plugins/dumb/cdumb.c | 2 | ||||
-rw-r--r-- | plugins/gme/cgme.c | 28 | ||||
-rw-r--r-- | plugins/mono2stereo/Makefile | 23 | ||||
-rw-r--r-- | plugins/mono2stereo/Makefile.am | 8 | ||||
-rw-r--r-- | plugins/mono2stereo/mono2stereo.c | 2 | ||||
-rw-r--r-- | plugins/pulse/pulse.c | 2 | ||||
-rw-r--r-- | plugins/shn/Makefile | 23 | ||||
-rw-r--r-- | plugins/shn/Makefile.am | 10 | ||||
-rw-r--r-- | plugins/shn/shn.c | 2 | ||||
-rw-r--r-- | plugins/shn/shn.h | 2 |
18 files changed, 193 insertions, 114 deletions
diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c index f42b9d2f..db3280dd 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -598,7 +598,7 @@ aac_init (DB_fileinfo_t *_info, DB_playItem_t *it) { return -1; } trace("parse_aac_stream returned %x\n", offs); - deadbeef->pl_replace_meta (it, ":FILETYPE", "AAC"); + deadbeef->pl_replace_meta (it, "!FILETYPE", "AAC"); } if (offs >= 0) { diff --git a/plugins/ao/Makefile b/plugins/ao/Makefile deleted file mode 100644 index d188294d..00000000 --- a/plugins/ao/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -OUT=ddb_aopsf.so - -CC?=gcc - -ZLIB_LIBS?=-lz - -CFLAGS?=-O2 -fomit-frame-pointer -CFLAGS+=-Wall -fPIC -DPATH_MAX=1024 -DHAS_PSXCPU=1 -I../.. -I./ -Ieng_ssf -Ieng_qsf -Ieng_dsf -CFLAGS+=$(STATIC_CFLAGS) - -LDFLAGS+=-module -shared -lm - -SOURCES=plugin.c main.c corlett.c\ -eng_dsf/eng_dsf.c eng_dsf/dc_hw.c eng_dsf/aica.c eng_dsf/aicadsp.c eng_dsf/arm7.c eng_dsf/arm7i.c\ -eng_ssf/m68kcpu.c eng_ssf/m68kopac.c eng_ssf/m68kopdm.c eng_ssf/m68kopnz.c eng_ssf/m68kops.c \ -eng_ssf/scsp.c eng_ssf/scspdsp.c eng_ssf/sat_hw.c eng_ssf/eng_ssf.c\ -eng_qsf/eng_qsf.c eng_qsf/kabuki.c eng_qsf/qsound.c eng_qsf/z80.c eng_qsf/z80dasm.c\ -eng_psf/eng_psf.c eng_psf/psx.c eng_psf/psx_hw.c eng_psf/peops/spu.c \ -eng_psf/eng_psf2.c eng_psf/peops2/spu2.c eng_psf/peops2/dma2.c eng_psf/peops2/registers2.c\ -eng_psf/eng_spu.c - -OBJECTS=$(SOURCES:.c=.o) - -all: $(SOURCES) $(OUT) - -$(OUT): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ $(ZLIB_LIBS) - -.c.o: - $(CC) $(CFLAGS) $< -c -o $@ - -clean: - rm $(OBJECTS) $(OUT) diff --git a/plugins/ao/Makefile.am b/plugins/ao/Makefile.am new file mode 100644 index 00000000..62df2b2c --- /dev/null +++ b/plugins/ao/Makefile.am @@ -0,0 +1,27 @@ +if HAVE_PSF +aodir = $(libdir)/$(PACKAGE) +pkglib_LTLIBRARIES = ddb_aopsf.la +ddb_aopsf_la_SOURCES = plugin.c main.c corlett.c\ +eng_dsf/eng_dsf.c eng_dsf/dc_hw.c eng_dsf/aica.c eng_dsf/aicadsp.c eng_dsf/arm7.c eng_dsf/arm7i.c\ +eng_ssf/m68kcpu.c eng_ssf/m68kopac.c eng_ssf/m68kopdm.c eng_ssf/m68kopnz.c eng_ssf/m68kops.c \ +eng_ssf/scsp.c eng_ssf/scspdsp.c eng_ssf/sat_hw.c eng_ssf/eng_ssf.c\ +eng_qsf/eng_qsf.c eng_qsf/kabuki.c eng_qsf/qsound.c eng_qsf/z80.c eng_qsf/z80dasm.c\ +eng_psf/eng_psf.c eng_psf/psx.c eng_psf/psx_hw.c eng_psf/peops/spu.c \ +eng_psf/eng_psf2.c eng_psf/peops2/spu2.c eng_psf/peops2/dma2.c eng_psf/peops2/registers2.c\ +eng_psf/eng_spu.c\ +ao.h corlett.h cpuintrf.h eng_protos.h mem.h osd_cpu.h\ +eng_dsf/aicadsp.h eng_dsf/aica.h eng_dsf/arm7.h eng_dsf/arm7i.h eng_dsf/arm7thumb.h eng_dsf/dc_hw.h\ +eng_ssf/m68kconf.h eng_ssf/m68kcpu.h eng_ssf/m68k.h eng_ssf/m68kmame.h eng_ssf/m68kops.h eng_ssf/sat_hw.h eng_ssf/scspdsp.h eng_ssf/scsp.h \ +eng_qsf/qsound.h eng_qsf/z80dasm.h eng_qsf/z80.h\ +eng_psf/cpuintrf.h eng_psf/mamemem.h eng_psf/psx.h\ +eng_psf/peops/adsr.h eng_psf/peops/dma.h eng_psf/peops/externals.h eng_psf/peops/gauss_i.h eng_psf/peops/registers.h eng_psf/peops/regs.h eng_psf/peops/spu.h eng_psf/peops/stdafx.h\ +eng_psf/peops2/adsr.h eng_psf/peops2/dma.h eng_psf/peops2/externals.h eng_psf/peops2/gauss_i.h eng_psf/peops2/psemuxa.h eng_psf/peops2/registers.h eng_psf/peops2/regs.h eng_psf/peops2/reverb.h eng_psf/peops2/spu.h eng_psf/peops2/stdafx.h + +ddb_aopsf_la_LDFLAGS = -module -fPIC + +EXTRA_DIST=eng_psf/peops/reverb.c eng_psf/peops/adsr.c eng_psf/peops/registers.c eng_psf/peops/dma.c eng_psf/peops2/spu2.c eng_psf/peops2/reverb2.c eng_psf/peops2/adsr2.c eng_dsf/arm7memil.c eng_dsf/aicalfo.c eng_ssf/scsplfo.c + +ddb_aopsf_la_LIBADD = $(LDADD) +AM_CFLAGS = $(CFLAGS) -Wall -DPATH_MAX=1024 -DHAS_PSXCPU=1 -I.. -Ieng_ssf -Ieng_qsf -Ieng_dsf -lm $(ZLIB_LIBS) +endif + diff --git a/plugins/ao/main.c b/plugins/ao/main.c index 18067410..a4da36d0 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/deadbeef.h> +#include "../../deadbeef.h" #include "ao.h" #include "eng_protos.h" diff --git a/plugins/ao/plugin.c b/plugins/ao/plugin.c index 65b3e1c8..dee8c4a6 100644 --- a/plugins/ao/plugin.c +++ b/plugins/ao/plugin.c @@ -18,7 +18,7 @@ */ #include <stdlib.h> #include <string.h> -#include <deadbeef/deadbeef.h> +#include "../../deadbeef.h" #include "ao.h" #include "eng_protos.h" diff --git a/plugins/artwork/Makefile.am b/plugins/artwork/Makefile.am index 53cda944..74155a1c 100644 --- a/plugins/artwork/Makefile.am +++ b/plugins/artwork/Makefile.am @@ -12,6 +12,11 @@ else ARTWORK_DEPS=$(JPEG_DEPS_LIBS) $(PNG_DEPS_LIBS) endif -AM_CFLAGS = $(CFLAGS) $(ARTWORK_CFLAGS) -std=c99 -artwork_la_LIBADD = $(LDADD) $(ARTWORK_DEPS) +if HAVE_FLAC +FLAC_DEPS=$(FLAC_LIBS) +FLAC_CFLAGS=-DUSE_METAFLAC +endif + +AM_CFLAGS = $(CFLAGS) $(ARTWORK_CFLAGS) $(FLAC_CFLAGS) -std=c99 +artwork_la_LIBADD = $(LDADD) $(ARTWORK_DEPS) $(FLAC_DEPS) endif diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c index 458737fb..19bc0ede 100644 --- a/plugins/artwork/artwork.c +++ b/plugins/artwork/artwork.c @@ -25,6 +25,10 @@ static uintptr_t imlib_mutex; #include <png.h> #endif +#ifdef USE_METAFLAC +#include <FLAC/metadata.h> +#endif + #define min(x,y) ((x)<(y)?(x):(y)) //#define trace(...) { fprintf(stderr, __VA_ARGS__); } @@ -964,6 +968,79 @@ fetcher_thread (void *none) deadbeef->fclose (fp); } } + +#ifdef USE_METAFLAC + { + // try to load embedded from flac metadata + FLAC__StreamMetadata *meta = NULL; + do { + trace ("trying to load artwork flac metadata for %s\n", param->fname); + + if (!FLAC__metadata_get_picture ( + param->fname, // filename + &meta, // picture + FLAC__STREAM_METADATA_PICTURE_TYPE_FRONT_COVER, // type + NULL, // mime_type + NULL, // description + (unsigned)(-1), // max_width + (unsigned)(-1), // max_height + (unsigned)(-1), // max_depth + (unsigned)(-1) // max_colors + )){ + trace ("%s don't have an embedded cover\n",param->fname); + + if (!FLAC__metadata_get_picture ( + param->fname, // filename + &meta, // picture + -1, // type + NULL, // mime_type + NULL, // description + (unsigned)(-1), // max_width + (unsigned)(-1), // max_height + (unsigned)(-1), // max_depth + (unsigned)(-1) // max_colors + )){ + trace ("%s don't have an embedded album art\n",param->fname); + break; + } + + } + FLAC__StreamMetadata_Picture *pic = &meta->data.picture; + + trace ("found flac cover art of %d bytes (%s)\n", pic->data_length, pic->description); + char tmp_path[1024]; + char cache_path[1024]; + make_cache_path (cache_path, sizeof (cache_path), param->album, param->artist, -1); + trace ("will write flac cover art into %s\n", cache_path); + snprintf (tmp_path, sizeof (tmp_path), "%s.part", cache_path); + FILE *out = fopen (tmp_path, "w+b"); + if (!out) { + trace ("artwork: failed to open %s for writing\n", tmp_path); + break; + } + if (fwrite (pic->data, 1, pic->data_length, out) != pic->data_length) { + trace ("artwork: failed to write flac picture into %s\n", tmp_path); + fclose (out); + unlink (tmp_path); + break; + } + fclose (out); + int err = rename (tmp_path, cache_path); + if (err != 0) { + trace ("Failed not move %s to %s: %s\n", tmp_path, cache_path, strerror (err)); + unlink (tmp_path); + break; + } + unlink (tmp_path); + got_pic = 1; + } while (0); + + if (meta != NULL) { + trace ("release flac metadata block\n"); + FLAC__metadata_object_delete (meta); + } + } +#endif } if (!got_pic && artwork_enable_local) { diff --git a/plugins/dumb/Makefile b/plugins/dumb/Makefile.am index e993012f..38e6d830 100644 --- a/plugins/dumb/Makefile +++ b/plugins/dumb/Makefile.am @@ -1,14 +1,14 @@ -OUT=ddb_dumb.so +if HAVE_DUMB +dumbpath=@top_srcdir@/plugins/dumb/dumb-kode54 -CC?=gcc +EXTRA_DIST = $(dumbpath)/readme.txt $(dumbpath)/ChangeLog $(dumbpath)/licence.txt $(dumbpath)/release.txt $(dumbpath)/todo.txt -dumbpath=dumb-kode54 +pkglib_LTLIBRARIES = ddb_dumb.la -CFLAGS+=-Wall -fPIC -D_GNU_SOURCE -I$(dumbpath)/include -std=c99 +AM_CFLAGS = $(CFLAGS) -I$(dumbpath)/include -std=c99 +ddb_dumb_la_LDFLAGS = -module -lm -LDFLAGS+=-module -shared -lm - -SOURCES=\ +ddb_dumb_la_SOURCES =\ dumb-kode54/src/it/readam.c\ dumb-kode54/src/it/readstm.c\ dumb-kode54/src/it/loads3m.c\ @@ -79,18 +79,29 @@ dumb-kode54/src/helpers/riff.c\ dumb-kode54/src/helpers/memfile.c\ dumb-kode54/src/helpers/sampbuf.c\ dumb-kode54/src/helpers/barray.c\ +dumb-kode54/studio/include/guitop.h\ +dumb-kode54/studio/include/dumbgui.h\ +dumb-kode54/studio/include/options.h\ +dumb-kode54/studio/include/subclip.h\ +dumb-kode54/studio/include/main.h\ +dumb-kode54/studio/include/guiproc.h\ +dumb-kode54/studio/include/dumbmenu.h\ +dumb-kode54/studio/include/dumbdesk.h\ +dumb-kode54/src/tools/it/modulus.h\ +dumb-kode54/include/internal/it.h\ +dumb-kode54/include/internal/dumb.h\ +dumb-kode54/include/internal/barray.h\ +dumb-kode54/include/internal/riff.h\ +dumb-kode54/include/internal/aldumb.h\ +dumb-kode54/include/dumb.h\ +dumb-kode54/include/aldumb.h\ +dumb-kode54/winamp/in_duh.h\ +dumb-kode54/winamp/in2.h\ +dumb-kode54/winamp/resource.h\ +dumb-kode54/winamp/out.h\ +dumb-kode54/winamp/gui.h\ +dumb-kode54/src/helpers/resample.inc\ +dumb-kode54/src/helpers/resamp2.inc\ +dumb-kode54/src/helpers/resamp3.inc\ cdumb.c - -OBJECTS=$(SOURCES:.c=.o) - -all: $(SOURCES) $(OUT) - -$(OUT): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -c -o $@ - -clean: - rm $(OBJECTS) $(OUT) - +endif diff --git a/plugins/dumb/cdumb.c b/plugins/dumb/cdumb.c index f947d94a..0ae7f4d4 100644 --- a/plugins/dumb/cdumb.c +++ b/plugins/dumb/cdumb.c @@ -23,7 +23,7 @@ #include <string.h> #include "dumb.h" #include "internal/it.h" -#include <deadbeef/deadbeef.h> +#include "../../deadbeef.h" //#define trace(...) { fprintf(stderr, __VA_ARGS__); } #define trace(fmt,...) diff --git a/plugins/gme/cgme.c b/plugins/gme/cgme.c index 6a28a878..e94a4773 100644 --- a/plugins/gme/cgme.c +++ b/plugins/gme/cgme.c @@ -41,6 +41,7 @@ int _Unwind_GetIPInfo; static DB_decoder_t plugin; static DB_functions_t *deadbeef; static int conf_fadeout = 10; +static int conf_loopcount = 2; typedef struct { DB_fileinfo_t info; @@ -322,10 +323,10 @@ cgme_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { DB_playItem_t *it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); char str[1024]; if (inf->song[0]) { - snprintf (str, 1024, "%d %s - %s", i, inf->game, inf->song); + snprintf (str, sizeof(str), "%d %s - %s", i, inf->game, inf->song); } else { - snprintf (str, 1024, "%d %s - ?", i, inf->game); + snprintf (str, sizeof(str), "%d %s - ?", i, inf->game); } trace ("track subtune %d %s, length=%d\n", i, str, inf->length); deadbeef->pl_set_meta_int (it, ":TRACKNUM", i); @@ -349,9 +350,26 @@ cgme_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { char trk[10]; snprintf (trk, 10, "%d", i+1); cgme_add_meta (it, "track", trk); + snprintf (str, sizeof(str), "%d", inf->length); + deadbeef->pl_add_meta (it, ":GME_LENGTH", str); + snprintf (str, sizeof(str), "%d", inf->intro_length); + deadbeef->pl_add_meta (it, ":GME_INTRO_LENGTH", str); + snprintf (str, sizeof(str), "%d", inf->loop_length); + deadbeef->pl_add_meta (it, ":GME_LOOP_LENGTH", str); if (inf->length == -1 || inf->length == 0) { - float songlength = deadbeef->conf_get_float ("gme.songlength", 3); - deadbeef->plt_set_item_duration (plt, it, songlength * 60.f); + float songlength; + + if (inf->loop_length > 0 && conf_loopcount > 0) { + songlength = inf->intro_length / 1000.f; + if (songlength < 0) { + songlength = 0; + } + songlength += (inf->loop_length * conf_loopcount) / 1000.f; + } + else { + songlength = deadbeef->conf_get_float ("gme.songlength", 3) * 60.f; + } + deadbeef->plt_set_item_duration (plt, it, songlength); } else { deadbeef->plt_set_item_duration (plt, it, (float)inf->length/1000.f); @@ -425,6 +443,7 @@ cgme_message (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2) { switch (id) { case DB_EV_CONFIGCHANGED: conf_fadeout = deadbeef->conf_get_int ("gme.fadeout", 10); + conf_loopcount = deadbeef->conf_get_int ("gme.loopcount", 2); break; } return 0; @@ -433,6 +452,7 @@ cgme_message (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2) { static const char settings_dlg[] = "property \"Max song length (in minutes)\" entry gme.songlength 3;\n" "property \"Fadeout length (seconds)\" entry gme.fadeout 10;\n" + "property \"Play loops nr. of times (if available)\" entry gme.loopcount 2;\n" ; // define plugin interface diff --git a/plugins/mono2stereo/Makefile b/plugins/mono2stereo/Makefile deleted file mode 100644 index 0dceaa3a..00000000 --- a/plugins/mono2stereo/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -CC?=gcc - -CFLAGS+=-Wall -fPIC -D_GNU_SOURCE -std=c99 - -LDFLAGS+=-module -shared -lm - -SOURCES=mono2stereo.c - -OBJECTS=$(SOURCES:.c=.o) - -OUT?=ddb_mono2stereo.so - -all: $(SOURCES) $(OUT) - -$(OUT): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -c -o $@ - -clean: - rm $(OBJECTS) $(OUT) - diff --git a/plugins/mono2stereo/Makefile.am b/plugins/mono2stereo/Makefile.am new file mode 100644 index 00000000..ccbbf846 --- /dev/null +++ b/plugins/mono2stereo/Makefile.am @@ -0,0 +1,8 @@ +if HAVE_MONO2STEREO +pkglib_LTLIBRARIES = ddb_mono2stereo.la +ddb_mono2stereo_la_SOURCES = mono2stereo.c +ddb_mono2stereo_la_LDFLAGS = -module + +ddb_mono2stereo_la_LIBADD = $(LDADD) +AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/mono2stereo/mono2stereo.c b/plugins/mono2stereo/mono2stereo.c index 23d0b0d5..66168bed 100644 --- a/plugins/mono2stereo/mono2stereo.c +++ b/plugins/mono2stereo/mono2stereo.c @@ -19,7 +19,7 @@ #include <stdlib.h> #include <string.h> #include <assert.h> -#include <deadbeef/deadbeef.h> +#include "../../deadbeef.h" enum { M2S_PARAM_LEFTMIX, diff --git a/plugins/pulse/pulse.c b/plugins/pulse/pulse.c index 98f446ca..76baf98c 100644 --- a/plugins/pulse/pulse.c +++ b/plugins/pulse/pulse.c @@ -353,7 +353,7 @@ DB_plugin_t * pulse_load(DB_functions_t *api) static const char settings_dlg[] = "property \"PulseAudio server\" entry " CONFSTR_PULSE_SERVERADDR " default;\n" - "property \"Preferred buffer size\" entry " CONFSTR_PULSE_BUFFERSIZE " 4096;\n"; + "property \"Preferred buffer size\" entry " CONFSTR_PULSE_BUFFERSIZE " 8192;\n"; static DB_output_t plugin = { diff --git a/plugins/shn/Makefile b/plugins/shn/Makefile deleted file mode 100644 index d76c8427..00000000 --- a/plugins/shn/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -OUT=ddb_shn.so - -CC?=gcc - -CFLAGS?=-I../.. -CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE -DHAVE_CONFIG_H -I. - -LDFLAGS+=-module -shared -lm - -SOURCES=array.c convert.c misc.c output.c seek.c shn.c shorten.c sulawalaw.c vario.c wave.c - -OBJECTS=$(SOURCES:.c=.o) - -all: $(SOURCES) $(OUT) - -$(OUT): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -c -o $@ - -clean: - rm $(OBJECTS) $(OUT) diff --git a/plugins/shn/Makefile.am b/plugins/shn/Makefile.am new file mode 100644 index 00000000..acc597ef --- /dev/null +++ b/plugins/shn/Makefile.am @@ -0,0 +1,10 @@ +if HAVE_SHN +shndir = $(libdir)/$(PACKAGE) +pkglib_LTLIBRARIES = ddb_shn.la +ddb_shn_la_SOURCES = array.c convert.c misc.c output.c seek.c shn.c shn.h shorten.c shorten.h sulawalaw.c vario.c wave.c bitshift.h + +ddb_shn_la_LDFLAGS = -module + +ddb_shn_la_LIBADD = $(LDADD) -lm +AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/shn/shn.c b/plugins/shn/shn.c index 504f283c..c9d4acaf 100644 --- a/plugins/shn/shn.c +++ b/plugins/shn/shn.c @@ -23,7 +23,7 @@ #include <stdlib.h> #include <math.h> #include "shorten.h" -#include <deadbeef/deadbeef.h> +#include "../../deadbeef.h" #include "bitshift.h" //#define trace(...) { fprintf(stderr, __VA_ARGS__); } diff --git a/plugins/shn/shn.h b/plugins/shn/shn.h index e7d3bba8..518334bc 100644 --- a/plugins/shn/shn.h +++ b/plugins/shn/shn.h @@ -28,7 +28,7 @@ #include <stdio.h> #include <unistd.h> #include <sys/stat.h> -#include <deadbeef/deadbeef.h> +#include "../../deadbeef.h" extern DB_functions_t *deadbeef; |