summaryrefslogtreecommitdiff
path: root/apps/codecs/libalac/decomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libalac/decomp.h')
-rw-r--r--apps/codecs/libalac/decomp.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/codecs/libalac/decomp.h b/apps/codecs/libalac/decomp.h
index d7abd4db34..21dabd86b0 100644
--- a/apps/codecs/libalac/decomp.h
+++ b/apps/codecs/libalac/decomp.h
@@ -17,9 +17,12 @@ typedef struct
17 unsigned char *input_buffer; 17 unsigned char *input_buffer;
18 int input_buffer_bitaccumulator; /* used so we can do arbitary 18 int input_buffer_bitaccumulator; /* used so we can do arbitary
19 bit reads */ 19 bit reads */
20
21 /* rockbox: not used
20 int samplesize; 22 int samplesize;
21 int numchannels; 23 int numchannels;
22 int bytespersample; 24 int bytespersample; */
25
23 int bytes_consumed; 26 int bytes_consumed;
24 27
25 /* stuff from setinfo */ 28 /* stuff from setinfo */
@@ -37,8 +40,10 @@ typedef struct
37 /* end setinfo stuff */ 40 /* end setinfo stuff */
38} alac_file; 41} alac_file;
39 42
43/* rockbox: not used
40void create_alac(int samplesize, int numchannels, alac_file* alac) 44void create_alac(int samplesize, int numchannels, alac_file* alac)
41 ICODE_ATTR_ALAC; 45 ICODE_ATTR_ALAC; */
46
42int alac_decode_frame(alac_file *alac, 47int alac_decode_frame(alac_file *alac,
43 unsigned char *inbuffer, 48 unsigned char *inbuffer,
44 int32_t outputbuffer[ALAC_MAX_CHANNELS][ALAC_BLOCKSIZE], 49 int32_t outputbuffer[ALAC_MAX_CHANNELS][ALAC_BLOCKSIZE],