diff options
Diffstat (limited to 'apps/codecs/libalac/decomp.h')
-rw-r--r-- | apps/codecs/libalac/decomp.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/codecs/libalac/decomp.h b/apps/codecs/libalac/decomp.h index 162811084f..e4a19a7252 100644 --- a/apps/codecs/libalac/decomp.h +++ b/apps/codecs/libalac/decomp.h | |||
@@ -1,6 +1,10 @@ | |||
1 | #ifndef __ALAC__DECOMP_H | 1 | #ifndef __ALAC__DECOMP_H |
2 | #define __ALAC__DECOMP_H | 2 | #define __ALAC__DECOMP_H |
3 | 3 | ||
4 | #ifndef ICODE_ATTR_ALAC | ||
5 | #define ICODE_ATTR_ALAC ICODE_ATTR | ||
6 | #endif | ||
7 | |||
4 | /* Always output samples shifted to 28 bits + sign*/ | 8 | /* Always output samples shifted to 28 bits + sign*/ |
5 | #define ALAC_OUTPUT_DEPTH 29 | 9 | #define ALAC_OUTPUT_DEPTH 29 |
6 | #define SCALE16 (ALAC_OUTPUT_DEPTH - 16) | 10 | #define SCALE16 (ALAC_OUTPUT_DEPTH - 16) |
@@ -31,12 +35,13 @@ typedef struct | |||
31 | /* end setinfo stuff */ | 35 | /* end setinfo stuff */ |
32 | } alac_file; | 36 | } alac_file; |
33 | 37 | ||
34 | void create_alac(int samplesize, int numchannels, alac_file* alac) ICODE_ATTR; | 38 | void create_alac(int samplesize, int numchannels, alac_file* alac) |
39 | ICODE_ATTR_ALAC; | ||
35 | int alac_decode_frame(alac_file *alac, | 40 | int alac_decode_frame(alac_file *alac, |
36 | unsigned char *inbuffer, | 41 | unsigned char *inbuffer, |
37 | int32_t outputbuffer[ALAC_MAX_CHANNELS][ALAC_BLOCKSIZE], | 42 | int32_t outputbuffer[ALAC_MAX_CHANNELS][ALAC_BLOCKSIZE], |
38 | void (*yield)(void)) ICODE_ATTR; | 43 | void (*yield)(void)) ICODE_ATTR_ALAC; |
39 | void alac_set_info(alac_file *alac, char *inputbuffer) ICODE_ATTR; | 44 | void alac_set_info(alac_file *alac, char *inputbuffer) ICODE_ATTR_ALAC; |
40 | 45 | ||
41 | #endif /* __ALAC__DECOMP_H */ | 46 | #endif /* __ALAC__DECOMP_H */ |
42 | 47 | ||