mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
pcm_mixer: Explicitly initialize the mixer frequency in the pcm init path
Change-Id: I5b79dbb0608ef182fd5592797c6211ce5299999c
This commit is contained in:
parent
a84a38dd87
commit
5ce96b84d8
1 changed files with 3 additions and 0 deletions
|
|
@ -266,6 +266,9 @@ void pcm_postinit(void)
|
|||
sink->ops.postinit();
|
||||
sink->pcm_is_ready = true;
|
||||
}
|
||||
|
||||
/* Ensure mixer is in a sane state */
|
||||
mixer_set_frequency(pcm_get_frequency());
|
||||
}
|
||||
|
||||
bool pcm_is_initialized(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue