forked from len0rd/rockbox
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
This commit is contained in:
parent
62b095d029
commit
4f36ea8fbf
18 changed files with 454 additions and 122 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue