Turn on port buffers for p_lrclk and p_bclk when CODEC_MASTER=1
This commit is contained in:
@@ -101,8 +101,8 @@ extern buffered in port:32 p_i2s_adc[I2S_WIRES_ADC];
|
||||
extern buffered out port:32 p_lrclk;
|
||||
extern buffered out port:32 p_bclk;
|
||||
#else
|
||||
extern in port p_lrclk;
|
||||
extern in port p_bclk;
|
||||
extern buffered in port:32 p_lrclk;
|
||||
extern buffered in port:32 p_bclk;
|
||||
#endif
|
||||
|
||||
unsigned dsdMode = DSD_MODE_OFF;
|
||||
|
||||
@@ -116,8 +116,8 @@ on tile[AUDIO_IO_TILE] : buffered in port:32 p_i2s_adc[I2S_WIRES_ADC] =
|
||||
on tile[AUDIO_IO_TILE] : buffered out port:32 p_lrclk = PORT_I2S_LRCLK;
|
||||
on tile[AUDIO_IO_TILE] : buffered out port:32 p_bclk = PORT_I2S_BCLK;
|
||||
#else
|
||||
on tile[AUDIO_IO_TILE] : in port p_lrclk = PORT_I2S_LRCLK;
|
||||
on tile[AUDIO_IO_TILE] : in port p_bclk = PORT_I2S_BCLK;
|
||||
on tile[AUDIO_IO_TILE] : buffered in port:32 p_lrclk = PORT_I2S_LRCLK;
|
||||
on tile[AUDIO_IO_TILE] : buffered in port:32 p_bclk = PORT_I2S_BCLK;
|
||||
#endif
|
||||
|
||||
on tile[AUDIO_IO_TILE] : port p_mclk_in = PORT_MCLK_IN;
|
||||
|
||||
@@ -70,8 +70,8 @@ void ConfigAudioPortsWrapper(
|
||||
buffered out port:32 ?p_lrclk,
|
||||
buffered out port:32 p_bclk,
|
||||
#else
|
||||
in port ?p_lrclk,
|
||||
in port p_bclk,
|
||||
buffered in port:32 ?p_lrclk,
|
||||
buffered in port:32 p_bclk,
|
||||
#endif
|
||||
#endif
|
||||
unsigned int divide, unsigned curSamFreq, unsigned int dsdMode);
|
||||
|
||||
Reference in New Issue
Block a user