diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-01-10 21:10:56 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-01-10 21:10:56 +0000 |
commit | 6427d127aaedcf7f68f7ad7438c5ffb284b8c9aa (patch) | |
tree | 838ba17c13ab4f2ee3333ea38f3e79604490069d /apps/codecs/asap.c | |
parent | 12b8f8de892920a99d9740f2e26fa7c4811de5b6 (diff) |
Calculate watermark from bitrate and harddisk spinup time.
Use a smaller PCM buffer on targets with 2MB or less ram.
(FS#9703)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19743 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/asap.c')
-rw-r--r-- | apps/codecs/asap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/codecs/asap.c b/apps/codecs/asap.c index 9e2228bf84..bb627ad06c 100644 --- a/apps/codecs/asap.c +++ b/apps/codecs/asap.c @@ -38,9 +38,6 @@ enum codec_status codec_main(void) char* module; int bytesPerSample =2; - /* Generic codec initialisation */ - ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); - next_track: if (codec_init()) { DEBUGF("codec init failed\n"); |