move FLAC_PLUGIN__MAX_SUPPORTED_CHANNELS into defs.h
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 1 Nov 2002 04:27:30 +0000 (04:27 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 1 Nov 2002 04:27:30 +0000 (04:27 +0000)
src/plugin_common/dither.h

index 9e44cc2..8f1fce5 100644 (file)
 
 #include "export.h"
 
+#include "defs.h" /* buy FLAC_PLUGIN__MAX_SUPPORTED_CHANNELS for the caller */
 #include "FLAC/ordinals.h"
 
-#define FLAC_PLUGIN__MAX_SUPPORTED_CHANNELS 2
-
 PLUGIN_COMMON_API unsigned FLAC__plugin_common__pack_pcm_signed_little_endian(FLAC__byte *data, FLAC__int32 *input, unsigned wide_samples, unsigned channels, unsigned source_bps, unsigned target_bps);
 
 #endif