diff options
-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 | } |