diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 17:48:21 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 17:48:21 +0000 |
| commit | 3379440a4bfecef85c915fb079b595f98a6db1de (patch) | |
| tree | b0d00f72449f78de08e1db8884a7ee1936423752 /apps/codecs | |
| parent | 03dd35db0e22c971b09fc94fa24cce6f531ab7ce (diff) | |
| download | rockbox-3379440a4bfecef85c915fb079b595f98a6db1de.zip rockbox-3379440a4bfecef85c915fb079b595f98a6db1de.tar.gz rockbox-3379440a4bfecef85c915fb079b595f98a6db1de.tar.bz2 rockbox-3379440a4bfecef85c915fb079b595f98a6db1de.tar.xz | |
Remove conf_filechunk, it should never have been a setting and its implementation doesn't do what it claims any way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15478 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/a52.c | 1 | ||||
| -rw-r--r-- | apps/codecs/aac.c | 1 | ||||
| -rw-r--r-- | apps/codecs/adx.c | 1 | ||||
| -rw-r--r-- | apps/codecs/aiff.c | 1 | ||||
| -rw-r--r-- | apps/codecs/alac.c | 1 | ||||
| -rw-r--r-- | apps/codecs/ape.c | 1 | ||||
| -rw-r--r-- | apps/codecs/flac.c | 1 | ||||
| -rw-r--r-- | apps/codecs/mpa.c | 1 | ||||
| -rw-r--r-- | apps/codecs/mpc.c | 5 | ||||
| -rw-r--r-- | apps/codecs/shorten.c | 1 | ||||
| -rw-r--r-- | apps/codecs/sid.c | 1 | ||||
| -rw-r--r-- | apps/codecs/vorbis.c | 5 | ||||
| -rw-r--r-- | apps/codecs/wav.c | 1 | ||||
| -rw-r--r-- | apps/codecs/wavpack.c | 1 | ||||
| -rw-r--r-- | apps/codecs/wma.c | 1 |
15 files changed, 0 insertions, 23 deletions
diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index b2229d4..6cdddb5 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -124,7 +124,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(DSP_SET_STEREO_MODE, STEREO_NONINTERLEAVED); ci->configure(DSP_SET_SAMPLE_DEPTH, 28); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); next_track: if (codec_init()) { diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c index d4f051c..d3422ea 100644 --- a/apps/codecs/aac.c +++ b/apps/codecs/aac.c @@ -53,7 +53,6 @@ enum codec_status codec_main(void) unsigned char c = 0; /* Generic codec initialisation */ - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*16); ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); ci->configure(DSP_SET_STEREO_MODE, STEREO_NONINTERLEAVED); diff --git a/apps/codecs/adx.c b/apps/codecs/adx.c index bf33967..715df57 100644 --- a/apps/codecs/adx.c +++ b/apps/codecs/adx.c @@ -55,7 +55,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ /* we only render 16 bits */ ci->configure(DSP_SET_SAMPLE_DEPTH, 16); - /*ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*256);*/ next_track: DEBUGF("ADX: next_track\n"); diff --git a/apps/codecs/aiff.c b/apps/codecs/aiff.c index d663b4b..93a7c39 100644 --- a/apps/codecs/aiff.c +++ b/apps/codecs/aiff.c @@ -65,7 +65,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(DSP_SET_SAMPLE_DEPTH, 28); ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*256); next_track: if (codec_init()) { diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c index bedd2dd..9abbfe8 100644 --- a/apps/codecs/alac.c +++ b/apps/codecs/alac.c @@ -43,7 +43,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); ci->configure(DSP_SET_STEREO_MODE, STEREO_NONINTERLEAVED); ci->configure(DSP_SET_SAMPLE_DEPTH, ALAC_OUTPUT_DEPTH-1); diff --git a/apps/codecs/ape.c b/apps/codecs/ape.c index 0506c0c..6679a1a 100644 --- a/apps/codecs/ape.c +++ b/apps/codecs/ape.c @@ -147,7 +147,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); ci->configure(DSP_SET_SAMPLE_DEPTH, APE_OUTPUT_DEPTH-1); diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c index d1c5283..3566725 100644 --- a/apps/codecs/flac.c +++ b/apps/codecs/flac.c @@ -422,7 +422,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); ci->configure(DSP_SET_SAMPLE_DEPTH, FLAC_OUTPUT_DEPTH-1); diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 113c81b..e966797 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -79,7 +79,6 @@ enum codec_status codec_main(void) /* Create a decoder instance */ ci->configure(DSP_SET_SAMPLE_DEPTH, MAD_F_FRACBITS); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*16); next_track: status = CODEC_OK; diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 4db8a18..207a094 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -78,7 +78,6 @@ enum codec_status codec_main(void) int retval = CODEC_OK; ci->configure(DSP_SET_SAMPLE_DEPTH, 28); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*16); /* Create a decoder instance */ reader.read = read_impl; @@ -133,14 +132,12 @@ next_track: /* Resume to saved sample offset. */ if(samplesdone > 0) { /* hack to improve seek time if filebuf goes empty */ - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*512); if (mpc_decoder_seek_sample(&decoder, samplesdone)) { ci->set_elapsed(samplesdone/frequency); } else { samplesdone = 0; } /* reset chunksize */ - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*16); } /* This is the decoding loop. */ @@ -149,7 +146,6 @@ next_track: /* Complete seek handler. */ if (ci->seek_time) { /* hack to improve seek time if filebuf goes empty */ - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*512); mpc_int64_t new_offset = (ci->seek_time - 1)*frequency; if (mpc_decoder_seek_sample(&decoder, new_offset)) { samplesdone = new_offset; @@ -157,7 +153,6 @@ next_track: } ci->seek_complete(); /* reset chunksize */ - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*16); } #else diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c index fdc8142..82345e0 100644 --- a/apps/codecs/shorten.c +++ b/apps/codecs/shorten.c @@ -46,7 +46,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); ci->configure(DSP_SET_STEREO_MODE, STEREO_NONINTERLEAVED); ci->configure(DSP_SET_SAMPLE_DEPTH, SHN_OUTPUT_DEPTH-1); diff --git a/apps/codecs/sid.c b/apps/codecs/sid.c index c6d3c43..bb43aef 100644 --- a/apps/codecs/sid.c +++ b/apps/codecs/sid.c @@ -1215,7 +1215,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*256); next_track: if (codec_init()) { diff --git a/apps/codecs/vorbis.c b/apps/codecs/vorbis.c index 2ea0f74..2f7a4f4 100644 --- a/apps/codecs/vorbis.c +++ b/apps/codecs/vorbis.c @@ -117,11 +117,6 @@ enum codec_status codec_main(void) * they should be set differently based on quality setting */ - /* The chunk size below is magic. If set any lower, resume - * doesn't work properly (ov_raw_seek() does the wrong thing). - */ - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*256); - /* We need to flush reserver memory every track load. */ next_track: if (codec_init()) { diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c index ae29bde..504292a 100644 --- a/apps/codecs/wav.c +++ b/apps/codecs/wav.c @@ -227,7 +227,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(DSP_SET_SAMPLE_DEPTH, 28); ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*256); next_track: if (codec_init()) { diff --git a/apps/codecs/wavpack.c b/apps/codecs/wavpack.c index 1485eed..87581db 100644 --- a/apps/codecs/wavpack.c +++ b/apps/codecs/wavpack.c @@ -43,7 +43,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); ci->configure(DSP_SET_SAMPLE_DEPTH, 28); diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c index c293864..958cf15 100644 --- a/apps/codecs/wma.c +++ b/apps/codecs/wma.c @@ -317,7 +317,6 @@ enum codec_status codec_main(void) /* Generic codec initialisation */ ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); ci->configure(DSP_SET_SAMPLE_DEPTH, 30); |