summaryrefslogtreecommitdiffstats
path: root/apps/codecs/shorten.c
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-22 14:40:13 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-22 14:40:13 +0000
commitf3bc1efc49826454a895c1c1f46fbe2cfd23f492 (patch)
tree676d501a9e75a9420f07a13f1d7fc1c5820b432a /apps/codecs/shorten.c
parentb5991b27cafa8cc8bd2e86e04110beec34a587e0 (diff)
downloadrockbox-f3bc1efc49826454a895c1c1f46fbe2cfd23f492.tar.gz
rockbox-f3bc1efc49826454a895c1c1f46fbe2cfd23f492.tar.bz2
rockbox-f3bc1efc49826454a895c1c1f46fbe2cfd23f492.zip
First commit of reworking voice to be mroe stable on swcodec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/shorten.c')
-rw-r--r--apps/codecs/shorten.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c
index 03a08021a7..8d62a12f03 100644
--- a/apps/codecs/shorten.c
+++ b/apps/codecs/shorten.c
@@ -63,7 +63,6 @@ enum codec_status codec_start(struct codec_api* api)
ci->configure(CODEC_SET_FILEBUF_WATERMARK, (int *)(1024*512));
ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, (int *)(1024*128));
- ci->configure(CODEC_DSP_ENABLE, (bool *)true);
ci->configure(DSP_DITHER, (bool *)false);
ci->configure(DSP_SET_STEREO_MODE, (long *)STEREO_NONINTERLEAVED);
ci->configure(DSP_SET_SAMPLE_DEPTH, (int *)(SHN_OUTPUT_DEPTH-1));
@@ -146,7 +145,7 @@ seek_start:
if (res == FN_ERROR) {
LOGF("Shorten: shorten_decode_frames error (%d)\n", samplesdone);
- return CODEC_ERROR;
+ break;
} else {
/* Insert decoded samples in pcmbuf */
if (nsamples) {