diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c index 04f67ef4fb..890a2d7d1b 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -136,7 +136,7 @@ enum { | |||
136 | }; | 136 | }; |
137 | 137 | ||
138 | /* As defined in plugins/lib/xxx2wav.h */ | 138 | /* As defined in plugins/lib/xxx2wav.h */ |
139 | #if MEMORYSIZE > 1 | 139 | #if MEM > 1 |
140 | #define MALLOC_BUFSIZE (512*1024) | 140 | #define MALLOC_BUFSIZE (512*1024) |
141 | #define GUARD_BUFSIZE (32*1024) | 141 | #define GUARD_BUFSIZE (32*1024) |
142 | #else | 142 | #else |
@@ -2935,14 +2935,14 @@ void audio_set_crossfade(int enable) | |||
2935 | size_t size; | 2935 | size_t size; |
2936 | bool was_playing = (playing && audio_is_initialized); | 2936 | bool was_playing = (playing && audio_is_initialized); |
2937 | size_t offset = 0; | 2937 | size_t offset = 0; |
2938 | #if MEMORYSIZE > 1 | 2938 | #if MEM > 1 |
2939 | int seconds = 1; | 2939 | int seconds = 1; |
2940 | #endif | 2940 | #endif |
2941 | 2941 | ||
2942 | if (!filebuf) | 2942 | if (!filebuf) |
2943 | return; /* Audio buffers not yet set up */ | 2943 | return; /* Audio buffers not yet set up */ |
2944 | 2944 | ||
2945 | #if MEMORYSIZE > 1 | 2945 | #if MEM > 1 |
2946 | if (enable) | 2946 | if (enable) |
2947 | seconds = global_settings.crossfade_fade_out_delay | 2947 | seconds = global_settings.crossfade_fade_out_delay |
2948 | + global_settings.crossfade_fade_out_duration; | 2948 | + global_settings.crossfade_fade_out_duration; |