forked from len0rd/rockbox
I really want the rest initialized to prevent accidents like the last.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12696 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e4efe2fe3c
commit
cc86b65d24
1 changed files with 6 additions and 6 deletions
|
@ -322,18 +322,18 @@ static unsigned char *dram_buf[2] = { NULL, NULL };
|
||||||
static struct mutex mutex_codecthread NOCACHEBSS_ATTR;
|
static struct mutex mutex_codecthread NOCACHEBSS_ATTR;
|
||||||
|
|
||||||
/* Voice state */
|
/* Voice state */
|
||||||
static volatile bool voice_thread_start; /* Triggers voice playback (A/V) */
|
static volatile bool voice_thread_start = false; /* Triggers voice playback (A/V) */
|
||||||
static volatile bool voice_is_playing NOCACHEBSS_ATTR; /* Is voice currently playing? (V) */
|
static volatile bool voice_is_playing NOCACHEBSS_ATTR = false; /* Is voice currently playing? (V) */
|
||||||
static volatile bool voice_codec_loaded NOCACHEBSS_ATTR; /* Is voice codec loaded (V/A-) */
|
static volatile bool voice_codec_loaded NOCACHEBSS_ATTR = false; /* Is voice codec loaded (V/A-) */
|
||||||
static char *voicebuf;
|
static char *voicebuf = NULL;
|
||||||
static size_t voice_remaining;
|
static size_t voice_remaining = 0;
|
||||||
|
|
||||||
#ifdef IRAM_STEAL
|
#ifdef IRAM_STEAL
|
||||||
/* Voice IRAM has been stolen for other use */
|
/* Voice IRAM has been stolen for other use */
|
||||||
static bool voice_iram_stolen = false;
|
static bool voice_iram_stolen = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void (*voice_getmore)(unsigned char** start, int* size);
|
static void (*voice_getmore)(unsigned char** start, int* size) = NULL;
|
||||||
|
|
||||||
struct voice_info {
|
struct voice_info {
|
||||||
void (*callback)(unsigned char **start, int *size);
|
void (*callback)(unsigned char **start, int *size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue