diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 41cc1ce808..88a6869895 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -2138,11 +2138,14 @@ int playlist_resume(void) | |||
2138 | int result = -1; | 2138 | int result = -1; |
2139 | 2139 | ||
2140 | splash(0, ID2P(LANG_WAIT)); | 2140 | splash(0, ID2P(LANG_WAIT)); |
2141 | if (core_allocatable() < (1 << 10)) | ||
2142 | talk_buffer_set_policy(TALK_BUFFER_LOOSE); /* back off voice buffer */ | ||
2143 | |||
2144 | #ifdef HAVE_DIRCACHE | ||
2141 | dircache_wait(); /* we need the dircache to use the files in the playlist */ | 2145 | dircache_wait(); /* we need the dircache to use the files in the playlist */ |
2146 | #endif | ||
2142 | 2147 | ||
2143 | /* use mp3 buffer for maximum load speed */ | 2148 | /* use mp3 buffer for maximum load speed */ |
2144 | if (core_allocatable() < (1 << 10)) | ||
2145 | talk_buffer_set_policy(TALK_BUFFER_LOOSE); /* back off voice buffer */ | ||
2146 | handle = core_alloc_maximum("temp", &buflen, &buflib_ops_locked); | 2149 | handle = core_alloc_maximum("temp", &buflen, &buflib_ops_locked); |
2147 | if (handle < 0) | 2150 | if (handle < 0) |
2148 | { | 2151 | { |