1
0
Fork 0
forked from len0rd/rockbox

Speech feedback in mpegplayer menus

Patch by Igor Poretsky

Change-Id: Idc6920e17be6537557f2b1cf00f7e559e30b45e8
This commit is contained in:
Solomon Peachy 2019-07-20 17:32:49 -04:00
parent 7234de58ae
commit 4ad76652ef
5 changed files with 556 additions and 66 deletions

View file

@ -384,11 +384,13 @@ bool pcm_output_init(void)
old_sampr = rb->mixer_get_frequency();
rb->mixer_set_frequency(CLOCK_RATE);
rb->pcmbuf_fade(false, true);
return true;
}
void pcm_output_exit(void)
{
rb->pcmbuf_fade(false, false);
if (old_sampr != 0)
rb->mixer_set_frequency(old_sampr);
}