summaryrefslogtreecommitdiff
path: root/apps/codecs/libwavpack/wavpack.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwavpack/wavpack.h')
-rw-r--r--apps/codecs/libwavpack/wavpack.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/apps/codecs/libwavpack/wavpack.h b/apps/codecs/libwavpack/wavpack.h
index 3128328e49..593af7831d 100644
--- a/apps/codecs/libwavpack/wavpack.h
+++ b/apps/codecs/libwavpack/wavpack.h
@@ -76,19 +76,11 @@ typedef struct {
76#define SRATE_LSB 23 76#define SRATE_LSB 23
77#define SRATE_MASK (0xfL << SRATE_LSB) 77#define SRATE_MASK (0xfL << SRATE_LSB)
78 78
79#define FALSE_STEREO 0x40000000 // block is stereo, but data is mono
80
81#define IGNORED_FLAGS 0x18000000 // reserved, but ignore if encountered 79#define IGNORED_FLAGS 0x18000000 // reserved, but ignore if encountered
82#define NEW_SHAPING 0x20000000 // use IIR filter for negative shaping 80#define NEW_SHAPING 0x20000000 // use IIR filter for negative shaping
83#define UNKNOWN_FLAGS 0x80000000 // also reserved, but refuse decode if 81#define UNKNOWN_FLAGS 0xC0000000 // also reserved, but refuse decode if
84 // encountered 82 // encountered
85 83
86#define MONO_DATA (MONO_FLAG | FALSE_STEREO)
87
88#define MIN_STREAM_VERS 0x402 // lowest stream version we'll decode
89#define MAX_STREAM_VERS 0x410 // highest stream version we'll decode
90#define CUR_STREAM_VERS 0x403 // stream version we are writing now
91
92//////////////////////////// WavPack Metadata ///////////////////////////////// 84//////////////////////////// WavPack Metadata /////////////////////////////////
93 85
94// This is an internal representation of metadata. 86// This is an internal representation of metadata.
@@ -434,6 +426,5 @@ void WavpackAddWrapper (WavpackContext *wpc, void *data, uint32_t bcount);
434int WavpackStartBlock (WavpackContext *wpc, uchar *begin, uchar *end); 426int WavpackStartBlock (WavpackContext *wpc, uchar *begin, uchar *end);
435int WavpackPackSamples (WavpackContext *wpc, int32_t *sample_buffer, uint32_t sample_count); 427int WavpackPackSamples (WavpackContext *wpc, int32_t *sample_buffer, uint32_t sample_count);
436uint32_t WavpackFinishBlock (WavpackContext *wpc); 428uint32_t WavpackFinishBlock (WavpackContext *wpc);
437void WavpackUpdateNumSamples (WavpackContext *wpc, void *first_block); 429
438void *WavpackGetWrapperLocation (void *first_block);
439 430