From 4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Sun, 14 Mar 2004 21:33:53 +0000 Subject: 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 --- apps/playlist.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/playlist.c') 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 @@ #endif #include "lang.h" +#include "talk.h" #define PLAYLIST_CONTROL_FILE ROCKBOX_DIR "/.playlist_control" #define PLAYLIST_CONTROL_FILE_VERSION 2 @@ -337,6 +338,7 @@ static int add_indices_to_playlist(struct playlist_info* playlist, { /* use mp3 buffer for maximum load speed */ mpeg_stop(); + talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ buffer = mp3buf; buflen = (mp3end - mp3buf); @@ -1192,6 +1194,7 @@ int playlist_resume(void) }; /* use mp3 buffer for maximum load speed */ + talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ buflen = (mp3end - mp3buf); buffer = mp3buf; -- cgit v1.2.3