mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Get rid of remaining audiohw_enable_output style codec setup and use pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e73383ea32
commit
888451fb0f
16 changed files with 77 additions and 159 deletions
|
|
@ -50,12 +50,11 @@ void pcm_play_dma_init(void)
|
|||
|
||||
/* Initialize default register values. */
|
||||
audiohw_init();
|
||||
}
|
||||
|
||||
/* Power on */
|
||||
audiohw_enable_output(true);
|
||||
|
||||
/* Unmute the master channel (DAC should be at zero point now). */
|
||||
audiohw_mute(false);
|
||||
void pcm_postinit(void)
|
||||
{
|
||||
audiohw_postinit();
|
||||
}
|
||||
|
||||
void pcm_apply_settings(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue