diff options
Diffstat (limited to 'apps/codecs/sid.c')
-rw-r--r-- | apps/codecs/sid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/sid.c b/apps/codecs/sid.c index 59683e9b6a..7c53e8f189 100644 --- a/apps/codecs/sid.c +++ b/apps/codecs/sid.c | |||
@@ -1216,8 +1216,8 @@ enum codec_status codec_main(void) | |||
1216 | int nSamplesToRender = 0; | 1216 | int nSamplesToRender = 0; |
1217 | 1217 | ||
1218 | /* Generic codec initialisation */ | 1218 | /* Generic codec initialisation */ |
1219 | ci->configure(CODEC_SET_FILEBUF_WATERMARK, (int *)(1024*512)); | 1219 | ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); |
1220 | ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, (int *)(1024*256)); | 1220 | ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*256); |
1221 | 1221 | ||
1222 | next_track: | 1222 | next_track: |
1223 | if (codec_init()) { | 1223 | if (codec_init()) { |
@@ -1246,11 +1246,11 @@ next_track: | |||
1246 | 1246 | ||
1247 | 1247 | ||
1248 | /* Make use of 44.1khz */ | 1248 | /* Make use of 44.1khz */ |
1249 | ci->configure(DSP_SWITCH_FREQUENCY, (long *)44100); | 1249 | ci->configure(DSP_SWITCH_FREQUENCY, 44100); |
1250 | /* Sample depth is 28 bit host endian */ | 1250 | /* Sample depth is 28 bit host endian */ |
1251 | ci->configure(DSP_SET_SAMPLE_DEPTH, (long *)28); | 1251 | ci->configure(DSP_SET_SAMPLE_DEPTH, 28); |
1252 | /* Mono output */ | 1252 | /* Mono output */ |
1253 | ci->configure(DSP_SET_STEREO_MODE, (int *)STEREO_MONO); | 1253 | ci->configure(DSP_SET_STEREO_MODE, STEREO_MONO); |
1254 | 1254 | ||
1255 | 1255 | ||
1256 | /* Set the elapsed time to the current subsong (in seconds) */ | 1256 | /* Set the elapsed time to the current subsong (in seconds) */ |