summaryrefslogtreecommitdiff
path: root/apps/codecs/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r--apps/codecs/flac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index 90d782e685..d297779c6b 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -450,8 +450,8 @@ enum codec_status codec_main(void)
450 while (!*ci->taginfo_ready && !ci->stop_codec) 450 while (!*ci->taginfo_ready && !ci->stop_codec)
451 ci->sleep(1); 451 ci->sleep(1);
452 452
453 ci->configure(DSP_SWITCH_FREQUENCY, (long *)(ci->id3->frequency)); 453 ci->configure(DSP_SWITCH_FREQUENCY, (int *)(ci->id3->frequency));
454 ci->configure(DSP_SET_STEREO_MODE, (long *) (fc.channels == 1 454 ci->configure(DSP_SET_STEREO_MODE, (int *) (fc.channels == 1
455 ? STEREO_MONO : STEREO_NONINTERLEAVED)); 455 ? STEREO_MONO : STEREO_NONINTERLEAVED));
456 codec_set_replaygain(ci->id3); 456 codec_set_replaygain(ci->id3);
457 457