diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-05-12 20:00:11 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-05-12 20:00:11 +0000 |
commit | 38c8d08f5c47153ada983eb79fc3c6ab6982f7c1 (patch) | |
tree | 9894dc5eafc8dfbc99aceba197e7516bb573b472 /apps | |
parent | 75952448452f91bc34b2e99247b23c7c5221fc21 (diff) | |
download | rockbox-38c8d08f5c47153ada983eb79fc3c6ab6982f7c1.tar.gz rockbox-38c8d08f5c47153ada983eb79fc3c6ab6982f7c1.zip |
Bugfix: Make sure pitch is reset at exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6460 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/splitedit.c | 8 |
1 files changed, 7 insertions, 1 deletions
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, | |||
1053 | break; | 1053 | break; |
1054 | 1054 | ||
1055 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) | 1055 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) |
1056 | #if defined(SPLITEDIT_SPEED150) && defined(SPLITEDIT_SPEED100) && defined(SPLITEDIT_SPEED50) | 1056 | #ifdef SPLITEDIT_SPEED100 |
1057 | case SPLITEDIT_SPEED150: | 1057 | case SPLITEDIT_SPEED150: |
1058 | rb->sound_set_pitch(1500); | 1058 | rb->sound_set_pitch(1500); |
1059 | splitedit_invalidate_osci(); | 1059 | splitedit_invalidate_osci(); |
@@ -1180,6 +1180,12 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | |||
1180 | } | 1180 | } |
1181 | } | 1181 | } |
1182 | } | 1182 | } |
1183 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) | ||
1184 | #ifdef SPLITEDIT_SPEED100 | ||
1185 | rb->sound_set_pitch(1000); /* make sure to reset pitch */ | ||
1186 | #endif | ||
1187 | #endif | ||
1188 | |||
1183 | } | 1189 | } |
1184 | return retval; | 1190 | return retval; |
1185 | } | 1191 | } |