summaryrefslogtreecommitdiff
path: root/include/share/replaygain_synthesis.h
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-05-11 03:24:27 -0700
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-05-11 03:24:32 -0700
commitb1b6caf8e1520eb9a95757e50c7672e6a69ebede (patch)
treeb4c380d14a0ca7abed1e33576f18f861418b29b4 /include/share/replaygain_synthesis.h
parent7963120a0d39cd46069be4e867945f4f48ca710b (diff)
downloadflac-b1b6caf8e1520eb9a95757e50c7672e6a69ebede.tar.gz
replaygain_synthesis.h : Fix FLAC_SHARE__MAX_SUPPORTED_CHANNELS.
Was previously hard coded as 2 when it should be FLAC__MAX_CHANNELS. Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'include/share/replaygain_synthesis.h')
-rw-r--r--include/share/replaygain_synthesis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/share/replaygain_synthesis.h b/include/share/replaygain_synthesis.h
index bb8885c5..3f161651 100644
--- a/include/share/replaygain_synthesis.h
+++ b/include/share/replaygain_synthesis.h
@@ -21,9 +21,9 @@
#define FLAC__SHARE__REPLAYGAIN_SYNTHESIS_H
#include <stdlib.h> /* for size_t */
-#include "FLAC/ordinals.h"
+#include "FLAC/format.h"
-#define FLAC_SHARE__MAX_SUPPORTED_CHANNELS 2
+#define FLAC_SHARE__MAX_SUPPORTED_CHANNELS FLAC__MAX_CHANNELS
typedef enum {
NOISE_SHAPING_NONE = 0,