1
0
Fork 0
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:
Jens Arnold 2005-05-12 20:00:11 +00:00
parent 7595244845
commit 38c8d08f5c

View file

@ -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;
}