changeset 101:dc891c666ce1 trunk

[svn] - plugin now builds on audacious 1.1.2, don't expect it to work
author nenolod
date Mon, 23 Oct 2006 19:21:36 -0700
parents 7be4c601acfa
children aff1cf3e86dd
files ChangeLog src/flac/grabbag.h src/flac/plugin_common/all.h
diffstat 3 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 23 19:12:38 2006 -0700
+++ b/ChangeLog	Mon Oct 23 19:21:36 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-24 02:12:38 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [200]
+  - the FLAC developers suck
+  
+  trunk/m4/libFLAC.m4 |   19 +++++++++++++++----
+  1 file changed, 15 insertions(+), 4 deletions(-)
+
+
 2006-10-23 19:25:24 +0000  William Pitcock <nenolod@nenolod.net>
   revision [198]
   - specifically blacklist the musepack mp2/mp3 variant
--- a/src/flac/grabbag.h	Mon Oct 23 19:12:38 2006 -0700
+++ b/src/flac/grabbag.h	Mon Oct 23 19:21:36 2006 -0700
@@ -19,10 +19,15 @@
 #ifndef SHARE__GRABBAG_H
 #define SHARE__GRABBAG_H
 
+#include <FLAC/all.h>
+#include "plugin_common/all.h"
+
+
 /* These can't be included by themselves, only from within grabbag.h */
 #include "grabbag/cuesheet.h"
 #include "grabbag/file.h"
 #include "grabbag/replaygain.h"
 #include "grabbag/seektable.h"
 
+
 #endif
--- a/src/flac/plugin_common/all.h	Mon Oct 23 19:12:38 2006 -0700
+++ b/src/flac/plugin_common/all.h	Mon Oct 23 19:21:36 2006 -0700
@@ -24,4 +24,11 @@
 #include "locale_hack.h"
 #include "tags.h"
 
+#if (AUD_FLAC_VERSION == 112)
+#define FLAC__STREAM_DECODER_SEEK_ERROR                 \
+        FLAC__SEEKABLE_STREAM_DECODER_SEEK_ERROR
+#define FLAC__STREAM_DECODER_INIT_STATUS_OK             \
+        FLAC__SEEKABLE_STREAM_DECODER_OK
 #endif
+
+#endif