mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Fix yellow and red. Maybe create some new.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19231 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1735056864
commit
888c3477bb
2 changed files with 1 additions and 12 deletions
|
|
@ -109,10 +109,6 @@ void audiohw_preinit(void)
|
|||
GPIOL_OUTPUT_VAL |= 0x10; /* disable */
|
||||
#endif
|
||||
|
||||
#ifdef CPU_PP502x
|
||||
i2s_reset();
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 1. Switch on power supplies.
|
||||
* By default the WM8751 is in Standby Mode, the DAC is
|
||||
|
|
|
|||
|
|
@ -62,9 +62,7 @@ static unsigned long pcm_freq SHAREDDATA_ATTR = HW_SAMPR_DEFAULT; /* 44.1 is def
|
|||
|
||||
void pcm_postinit(void)
|
||||
{
|
||||
#if defined(IAUDIO_7)
|
||||
audiohw_postinit(); /* implemented not for all codecs */
|
||||
#endif
|
||||
audiohw_postinit();
|
||||
pcm_apply_settings();
|
||||
}
|
||||
|
||||
|
|
@ -115,11 +113,6 @@ void pcm_play_dma_init(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void pcm_postinit(void)
|
||||
{
|
||||
audiohw_postinit();
|
||||
}
|
||||
|
||||
void pcm_apply_settings(void)
|
||||
{
|
||||
pcm_curr_sampr = pcm_freq;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue