summaryrefslogtreecommitdiff
path: root/apps/plugins/wavplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wavplay.c')
-rw-r--r--apps/plugins/wavplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/wavplay.c b/apps/plugins/wavplay.c
index 333d16135c..c37b656d1c 100644
--- a/apps/plugins/wavplay.c
+++ b/apps/plugins/wavplay.c
@@ -3574,7 +3574,7 @@ int play_file(char* filename)
3574 while (!(SSR0 & SCI_TEND)); /* wait for end of transfer */ 3574 while (!(SSR0 & SCI_TEND)); /* wait for end of transfer */
3575 BRR0 = 0; /* maximum speed, ~3 MBit/s */ 3575 BRR0 = 0; /* maximum speed, ~3 MBit/s */
3576 3576
3577#ifndef HAVE_MMC 3577#if !(CONFIG_STORAGE & STORAGE_MMC)
3578 low_water = 5 /* seconds */ 3578 low_water = 5 /* seconds */
3579 * 2 /* bytes per sample */ 3579 * 2 /* bytes per sample */
3580 * channels 3580 * channels
@@ -3603,7 +3603,7 @@ int play_file(char* filename)
3603 else 3603 else
3604 { 3604 {
3605 wanted = MIN(free_space, aud_size - aud_write); 3605 wanted = MIN(free_space, aud_size - aud_write);
3606#ifdef HAVE_MMC 3606#if (CONFIG_STORAGE & STORAGE_MMC)
3607 wanted = MIN(wanted, 256*1024); 3607 wanted = MIN(wanted, 256*1024);
3608#elif MEM == 8 3608#elif MEM == 8
3609 wanted = MIN(wanted, 1024*1024); 3609 wanted = MIN(wanted, 1024*1024);