diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-14 21:33:53 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-14 21:33:53 +0000 |
commit | 4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8 (patch) | |
tree | c0dbd4a148a54c8c2851d95149ed6d4e91053bd6 /apps/playlist.c | |
parent | 62b095d02972ac8c6fb63ab0a38d1fa0c483b85b (diff) | |
download | rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.tar.gz rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.zip |
First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 3 |
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 | ||