mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
as3525: fix r26308
I2SOUT peri needs to be enabled to set the loopback setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26319 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
565cd00963
commit
6ca9f232a8
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ int audio_channels = 2;
|
||||||
|
|
||||||
void audio_set_output_source(int source)
|
void audio_set_output_source(int source)
|
||||||
{
|
{
|
||||||
|
CGU_PERI |= CGU_I2SOUT_APB_CLOCK_ENABLE;
|
||||||
if (source == AUDIO_SRC_PLAYBACK)
|
if (source == AUDIO_SRC_PLAYBACK)
|
||||||
I2SOUT_CONTROL &= ~(1<<5);
|
I2SOUT_CONTROL &= ~(1<<5);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue