forked from PAWPAW-Mirror/lib_xua
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_lrclk;
|
||||||
extern buffered out port:32 p_bclk;
|
extern buffered out port:32 p_bclk;
|
||||||
#else
|
#else
|
||||||
extern in port p_lrclk;
|
extern buffered in port:32 p_lrclk;
|
||||||
extern in port p_bclk;
|
extern buffered in port:32 p_bclk;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
unsigned dsdMode = DSD_MODE_OFF;
|
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_lrclk = PORT_I2S_LRCLK;
|
||||||
on tile[AUDIO_IO_TILE] : buffered out port:32 p_bclk = PORT_I2S_BCLK;
|
on tile[AUDIO_IO_TILE] : buffered out port:32 p_bclk = PORT_I2S_BCLK;
|
||||||
#else
|
#else
|
||||||
on tile[AUDIO_IO_TILE] : in port p_lrclk = PORT_I2S_LRCLK;
|
on tile[AUDIO_IO_TILE] : buffered in port:32 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_bclk = PORT_I2S_BCLK;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
on tile[AUDIO_IO_TILE] : port p_mclk_in = PORT_MCLK_IN;
|
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_lrclk,
|
||||||
buffered out port:32 p_bclk,
|
buffered out port:32 p_bclk,
|
||||||
#else
|
#else
|
||||||
in port ?p_lrclk,
|
buffered in port:32 ?p_lrclk,
|
||||||
in port p_bclk,
|
buffered in port:32 p_bclk,
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
unsigned int divide, unsigned curSamFreq, unsigned int dsdMode);
|
unsigned int divide, unsigned curSamFreq, unsigned int dsdMode);
|
||||||
|
|||||||
Reference in New Issue
Block a user