forked from PAWPAW-Mirror/lib_xua
AN00247 build fix
This commit is contained in:
@@ -149,7 +149,8 @@ S/PDIF Tx functionality must be ``lib_xua``
|
|||||||
- Various product strings
|
- Various product strings
|
||||||
- Master clock frequency
|
- Master clock frequency
|
||||||
|
|
||||||
To enable S/PDIF funtionality ``XUA_SPDIF_TX_EN`` must be set to a non-zero value.
|
To enable S/PDIF funtionality ``XUA_SPDIF_TX_EN`` must be set to a non-zero value. Setting this will cause the ``XUA_AudioHub``
|
||||||
|
tasks to forward samples and sample rate information to the S/PDIF transmitter task.
|
||||||
|
|
||||||
These parameters are set via defines in an optional ``xua_conf.h`` header file. For this simple application the
|
These parameters are set via defines in an optional ``xua_conf.h`` header file. For this simple application the
|
||||||
complete contents of this file are as follows:
|
complete contents of this file are as follows:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
/* Lib_spdif port declarations. Note, the defines come from the xn file */
|
/* Lib_spdif port declarations. Note, the defines come from the xn file */
|
||||||
buffered out port:32 p_spdif_tx = PORT_SPDIF_OUT; /* SPDIF transmit port */
|
buffered out port:32 p_spdif_tx = PORT_SPDIF_OUT; /* SPDIF transmit port */
|
||||||
|
|
||||||
clock clk_spdif_tx = on tile[0]: XS1_CLKBLK_4 /* Clock block for S/PDIF transmit */
|
clock clk_spdif_tx = on tile[0]: XS1_CLKBLK_4; /* Clock block for S/PDIF transmit */
|
||||||
|
|
||||||
/* Lib_xua port declarations. Note, the defines come from the xn file */
|
/* Lib_xua port declarations. Note, the defines come from the xn file */
|
||||||
in port p_mclk_in = PORT_MCLK_IN; /* Master clock for the audio IO tile */
|
in port p_mclk_in = PORT_MCLK_IN; /* Master clock for the audio IO tile */
|
||||||
|
|||||||
Reference in New Issue
Block a user