forked from len0rd/rockbox
iRiver: Fixed a crash when loading a new configuration file and audio
is playing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7521 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
56fa2dafb0
commit
0c1a2c7651
1 changed files with 3 additions and 0 deletions
|
@ -472,6 +472,9 @@ static void reset_state(void)
|
|||
|
||||
void talk_init(void)
|
||||
{
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
audio_stop();
|
||||
#endif
|
||||
reset_state(); /* use this for most of our inits */
|
||||
|
||||
#ifdef HAVE_MMC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue