forked from len0rd/rockbox
Speech feedback in mpegplayer menus
Patch by Igor Poretsky Change-Id: Idc6920e17be6537557f2b1cf00f7e559e30b45e8
This commit is contained in:
parent
7234de58ae
commit
4ad76652ef
5 changed files with 556 additions and 66 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue