summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-09-14 16:07:07 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-09-14 16:07:07 +0000
commit0c1a2c7651c0727f2a5565e1302f50f64202a9f6 (patch)
treec9f89da4a9a5a5a9ed5f1f28987dda8655a01230 /apps
parent56fa2dafb029ecfa69984e31500ed1ffc3e6882b (diff)
downloadrockbox-0c1a2c7651c0727f2a5565e1302f50f64202a9f6.tar.gz
rockbox-0c1a2c7651c0727f2a5565e1302f50f64202a9f6.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/talk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 0904ecd2c3..ec92578ee6 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -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