diff options
Diffstat (limited to 'apps/codecs/aac.c')
-rw-r--r-- | apps/codecs/aac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c index 7656c416fe..7c64bc9a31 100644 --- a/apps/codecs/aac.c +++ b/apps/codecs/aac.c | |||
@@ -51,11 +51,11 @@ enum codec_status codec_main(void) | |||
51 | unsigned char c = 0; | 51 | unsigned char c = 0; |
52 | 52 | ||
53 | /* Generic codec initialisation */ | 53 | /* Generic codec initialisation */ |
54 | ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, (int *)(1024*16)); | 54 | ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*16); |
55 | ci->configure(CODEC_SET_FILEBUF_WATERMARK, (int *)(1024*512)); | 55 | ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); |
56 | 56 | ||
57 | ci->configure(DSP_SET_STEREO_MODE, (int *)STEREO_NONINTERLEAVED); | 57 | ci->configure(DSP_SET_STEREO_MODE, STEREO_NONINTERLEAVED); |
58 | ci->configure(DSP_SET_SAMPLE_DEPTH, (int *)(29)); | 58 | ci->configure(DSP_SET_SAMPLE_DEPTH, 29); |
59 | 59 | ||
60 | next_track: | 60 | next_track: |
61 | err = CODEC_OK; | 61 | err = CODEC_OK; |
@@ -71,7 +71,7 @@ next_track: | |||
71 | 71 | ||
72 | sound_samples_done = ci->id3->offset; | 72 | sound_samples_done = ci->id3->offset; |
73 | 73 | ||
74 | ci->configure(DSP_SWITCH_FREQUENCY, (long *)(ci->id3->frequency)); | 74 | ci->configure(DSP_SWITCH_FREQUENCY, ci->id3->frequency); |
75 | codec_set_replaygain(ci->id3); | 75 | codec_set_replaygain(ci->id3); |
76 | 76 | ||
77 | stream_create(&input_stream,ci); | 77 | stream_create(&input_stream,ci); |