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/plugin.c | |
| parent | 62b095d02972ac8c6fb63ab0a38d1fa0c483b85b (diff) | |
| download | rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.zip rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.tar.gz rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.tar.bz2 rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.tar.xz | |
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/plugin.c')
| -rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 08c9801..cdb787a 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -38,6 +38,7 @@ #include "mp3_playback.h" #include "backlight.h" #include "ata.h" +#include "talk.h" #ifdef HAVE_LCD_BITMAP #include "widgets.h" @@ -325,6 +326,7 @@ void* plugin_get_mp3_buffer(int* buffer_size) return buf; #else mpeg_stop(); + talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ *buffer_size = mp3end - mp3buf; return mp3buf; #endif |