From 38c8d08f5c47153ada983eb79fc3c6ab6982f7c1 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 12 May 2005 20:00:11 +0000 Subject: Bugfix: Make sure pitch is reset at exit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6460 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/splitedit.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index d38223827b..e52ce244f1 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c @@ -1053,7 +1053,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, break; #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) -#if defined(SPLITEDIT_SPEED150) && defined(SPLITEDIT_SPEED100) && defined(SPLITEDIT_SPEED50) +#ifdef SPLITEDIT_SPEED100 case SPLITEDIT_SPEED150: rb->sound_set_pitch(1500); splitedit_invalidate_osci(); @@ -1180,6 +1180,12 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, } } } +#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) +#ifdef SPLITEDIT_SPEED100 + rb->sound_set_pitch(1000); /* make sure to reset pitch */ +#endif +#endif + } return retval; } -- cgit