summaryrefslogtreecommitdiff
path: root/apps/plugins/wavrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wavrecord.c')
-rw-r--r--apps/plugins/wavrecord.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c
index d57a61a6a2..d4b8bf1fd2 100644
--- a/apps/plugins/wavrecord.c
+++ b/apps/plugins/wavrecord.c
@@ -3587,7 +3587,7 @@ static int record_file(char *filename)
3587 if (to_save > aud_size) 3587 if (to_save > aud_size)
3588 { 3588 {
3589 rec_tick_enable(false); 3589 rec_tick_enable(false);
3590#ifdef HAVE_MMC 3590#if (CONFIG_STORAGE & STORAGE_MMC)
3591 rb->splash(HZ, "Data overrun (slow MMC)"); 3591 rb->splash(HZ, "Data overrun (slow MMC)");
3592#else 3592#else
3593 rb->splash(HZ, "Data overrun"); 3593 rb->splash(HZ, "Data overrun");
@@ -3597,7 +3597,7 @@ static int record_file(char *filename)
3597 break; 3597 break;
3598 } 3598 }
3599 write_now = MIN(to_save, aud_size - aud_read); 3599 write_now = MIN(to_save, aud_size - aud_read);
3600#ifdef HAVE_MMC 3600#if (CONFIG_STORAGE & STORAGE_MMC)
3601 write_now = MIN(write_now, 256*1024); 3601 write_now = MIN(write_now, 256*1024);
3602#else 3602#else
3603 write_now = MIN(write_now, 1024*1024); 3603 write_now = MIN(write_now, 1024*1024);
@@ -3802,7 +3802,7 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
3802 return rc; 3802 return rc;
3803 3803
3804#if 0 3804#if 0
3805#ifdef HAVE_MMC 3805#if (CONFIG_STORAGE & STORAGE_MMC)
3806 return record_file("/<MMC1>/test.wav"); 3806 return record_file("/<MMC1>/test.wav");
3807#else 3807#else
3808 return record_file("/test.wav"); 3808 return record_file("/test.wav");