forked from len0rd/rockbox
Bugfix: Make sure pitch is reset at exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6460 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7595244845
commit
38c8d08f5c
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue