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 ee1993a2da..925092a3dd 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -783,7 +783,7 @@ int audio_get_file_pos(void) | |||
783 | return 0; | 783 | return 0; |
784 | } | 784 | } |
785 | 785 | ||
786 | #ifndef HAVE_FLASH_STORAGE | 786 | #ifdef HAVE_DISK_STORAGE |
787 | void audio_set_buffer_margin(int setting) | 787 | void audio_set_buffer_margin(int setting) |
788 | { | 788 | { |
789 | static const int lookup[] = {5, 15, 30, 60, 120, 180, 300, 600}; | 789 | static const int lookup[] = {5, 15, 30, 60, 120, 180, 300, 600}; |
@@ -2187,7 +2187,7 @@ static void audio_play_start(size_t offset) | |||
2187 | /* Officially playing */ | 2187 | /* Officially playing */ |
2188 | queue_reply(&audio_queue, 1); | 2188 | queue_reply(&audio_queue, 1); |
2189 | 2189 | ||
2190 | #ifndef HAVE_FLASH_STORAGE | 2190 | #ifdef HAVE_DISK_STORAGE |
2191 | set_filebuf_watermark(buffer_margin, 0); | 2191 | set_filebuf_watermark(buffer_margin, 0); |
2192 | #endif | 2192 | #endif |
2193 | 2193 | ||
@@ -2584,7 +2584,7 @@ void audio_init(void) | |||
2584 | audio_is_initialized = true; | 2584 | audio_is_initialized = true; |
2585 | 2585 | ||
2586 | sound_settings_apply(); | 2586 | sound_settings_apply(); |
2587 | #ifndef HAVE_FLASH_STORAGE | 2587 | #ifdef HAVE_DISK_STORAGE |
2588 | audio_set_buffer_margin(global_settings.buffer_margin); | 2588 | audio_set_buffer_margin(global_settings.buffer_margin); |
2589 | #endif | 2589 | #endif |
2590 | 2590 | ||