diff options
author | Jens Arnold <amiconn@rockbox.org> | 2009-07-11 23:11:56 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2009-07-11 23:11:56 +0000 |
commit | fa59ed6ae724b3f75c8ba35efcf7ce18f21e3ed2 (patch) | |
tree | b8a286f87871ce82c9024ae525f6434153f77b35 /apps/plugins/splitedit.c | |
parent | 34213c388bce18de3e5a609a3be5b4dfa075fee6 (diff) | |
download | rockbox-fa59ed6ae724b3f75c8ba35efcf7ce18f21e3ed2.tar.gz rockbox-fa59ed6ae724b3f75c8ba35efcf7ce18f21e3ed2.zip |
Fix plugins for the changed pitch scale from r21781
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21794 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r-- | apps/plugins/splitedit.c | 6 |
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 |