summaryrefslogtreecommitdiffstats
path: root/apps/codecs/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/alac.c')
-rw-r--r--apps/codecs/alac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c
index c96d1f0405..af2694851f 100644
--- a/apps/codecs/alac.c
+++ b/apps/codecs/alac.c
@@ -64,8 +64,8 @@ enum codec_status codec_start(struct codec_api* api)
ci->configure(CODEC_DSP_ENABLE, (bool *)true);
ci->configure(DSP_DITHER, (bool *)false);
ci->configure(DSP_SET_STEREO_MODE, (int *)STEREO_NONINTERLEAVED);
- ci->configure(DSP_SET_SAMPLE_DEPTH, (int *)(28));
-
+ ci->configure(DSP_SET_SAMPLE_DEPTH, (int *)(ALAC_OUTPUT_DEPTH-1));
+
next_track:
if (codec_init(api)) {