1
0
Fork 0
forked from len0rd/rockbox

cleanup storage defines

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-10-31 21:25:04 +00:00
parent 3aa5832808
commit 19d1cacb1a
71 changed files with 142 additions and 114 deletions

View file

@ -3587,7 +3587,7 @@ static int record_file(char *filename)
if (to_save > aud_size)
{
rec_tick_enable(false);
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
rb->splash(HZ, "Data overrun (slow MMC)");
#else
rb->splash(HZ, "Data overrun");
@ -3597,7 +3597,7 @@ static int record_file(char *filename)
break;
}
write_now = MIN(to_save, aud_size - aud_read);
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
write_now = MIN(write_now, 256*1024);
#else
write_now = MIN(write_now, 1024*1024);
@ -3802,7 +3802,7 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
return rc;
#if 0
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
return record_file("/<MMC1>/test.wav");
#else
return record_file("/test.wav");