summaryrefslogtreecommitdiff
path: root/apps/plugins/splitedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r--apps/plugins/splitedit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c
index 81a8b2416a..9f62b7a346 100644
--- a/apps/plugins/splitedit.c
+++ b/apps/plugins/splitedit.c
@@ -1106,17 +1106,17 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split,
1106#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) 1106#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
1107#ifdef SPLITEDIT_SPEED100 1107#ifdef SPLITEDIT_SPEED100
1108 case SPLITEDIT_SPEED150: 1108 case SPLITEDIT_SPEED150:
1109 rb->sound_set_pitch(1500); 1109 rb->sound_set_pitch(150L*PITCH_SPEED_PRECISION);
1110 splitedit_invalidate_osci(); 1110 splitedit_invalidate_osci();
1111 break; 1111 break;
1112 1112
1113 case SPLITEDIT_SPEED100: 1113 case SPLITEDIT_SPEED100:
1114 rb->sound_set_pitch(1000); 1114 rb->sound_set_pitch(PITCH_SPEED_100);
1115 splitedit_invalidate_osci(); 1115 splitedit_invalidate_osci();
1116 break; 1116 break;
1117 1117
1118 case SPLITEDIT_SPEED50: 1118 case SPLITEDIT_SPEED50:
1119 rb->sound_set_pitch(500); 1119 rb->sound_set_pitch(50L*PITCH_SPEED_PRECISION);
1120 splitedit_invalidate_osci(); 1120 splitedit_invalidate_osci();
1121 break; 1121 break;
1122#endif 1122#endif