Audio port config functions now get passed SR. Simple clock delay (falling edge) added for xCORE-slave mode when bclk >= 20MHz

This commit is contained in:
Ross Owen
2016-03-16 15:21:17 +00:00
parent 577d68a08b
commit 0ed22a0417
4 changed files with 21 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ void ConfigAudioPortsWrapper(
port p_lrclk,
port p_bclk,
#endif
unsigned int divide, unsigned int dsdMode)
unsigned int divide, unsigned curSamFreq, unsigned int dsdMode)
{
ConfigAudioPorts(
#if (I2S_CHANS_DAC != 0) || (DSD_CHANS_DAC != 0)
@@ -56,5 +56,5 @@ unsigned int divide, unsigned int dsdMode)
#endif
p_lrclk,
p_bclk,
divide);
divide, curSamFreq);
}