summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 572eb26456..53a18c606e 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -91,6 +91,7 @@
91#endif 91#endif
92 92
93#include "lang.h" 93#include "lang.h"
94#include "talk.h"
94 95
95#define PLAYLIST_CONTROL_FILE ROCKBOX_DIR "/.playlist_control" 96#define PLAYLIST_CONTROL_FILE ROCKBOX_DIR "/.playlist_control"
96#define PLAYLIST_CONTROL_FILE_VERSION 2 97#define PLAYLIST_CONTROL_FILE_VERSION 2
@@ -337,6 +338,7 @@ static int add_indices_to_playlist(struct playlist_info* playlist,
337 { 338 {
338 /* use mp3 buffer for maximum load speed */ 339 /* use mp3 buffer for maximum load speed */
339 mpeg_stop(); 340 mpeg_stop();
341 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */
340 342
341 buffer = mp3buf; 343 buffer = mp3buf;
342 buflen = (mp3end - mp3buf); 344 buflen = (mp3end - mp3buf);
@@ -1192,6 +1194,7 @@ int playlist_resume(void)
1192 }; 1194 };
1193 1195
1194 /* use mp3 buffer for maximum load speed */ 1196 /* use mp3 buffer for maximum load speed */
1197 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */
1195 buflen = (mp3end - mp3buf); 1198 buflen = (mp3end - mp3buf);
1196 buffer = mp3buf; 1199 buffer = mp3buf;
1197 1200