Moved to lib_spdif for spdif tx (from module_spdif_tx)

This commit is contained in:
xross
2018-03-28 16:44:02 +01:00
parent f4dcb77427
commit 248eeffbaa
2 changed files with 6 additions and 4 deletions

View File

@@ -1,12 +1,14 @@
lib_xua Change Log lib_xua Change Log
================== ==================
0.2.0 0.2.0
----- -----
* ADDED: Documentation * ADDED: Documentation
* CHANGE: I2S hardware resources no longer used globally and must be passed to XUA_AudioHub() * CHANGE: I2S hardware resources no longer used globally and must be passed to XUA_AudioHub()
* CHANGE: NO_USB define renamed to XUA_USB_EN * CHANGE: NO_USB define renamed to XUA_USB_EN
* CHANGE: Moved to lib_spdif (from module_spdif_tx)
0.1.2 0.1.2
----- -----

View File

@@ -20,7 +20,7 @@
#include "audioports.h" #include "audioports.h"
#include "mic_array_conf.h" #include "mic_array_conf.h"
#if (XUA_SPDIF_TX_EN) #if (XUA_SPDIF_TX_EN)
#include "SpdifTransmit.h" #include "spdif.h"
#endif #endif
#ifdef ADAT_TX #ifdef ADAT_TX
#include "adat_tx.h" #include "adat_tx.h"
@@ -607,7 +607,7 @@ void SpdifTxWrapper(chanend c_spdif_tx)
while(1) while(1)
{ {
SpdifTransmit(p_spdif_tx, c_spdif_tx); spdif_tx(p_spdif_tx, c_spdif_tx);
} }
} }
#endif #endif
@@ -744,7 +744,7 @@ void XUA_AudioHub(chanend ?c_aud, clock ?clk_audio_mclk, clock ?clk_audio_bclk,
/* Configure ADAT/SPDIF tx ports */ /* Configure ADAT/SPDIF tx ports */
#if (XUA_SPDIF_TX_EN) && (SPDIF_TX_TILE == AUDIO_IO_TILE) #if (XUA_SPDIF_TX_EN) && (SPDIF_TX_TILE == AUDIO_IO_TILE)
SpdifTransmitPortConfig(p_spdif_tx, clk_mst_spd, p_mclk_in); spdif_tx_port_config(p_spdif_tx, clk_mst_spd, p_mclk_in, 7);
#endif #endif
/* Perform required CODEC/ADC/DAC initialisation */ /* Perform required CODEC/ADC/DAC initialisation */
@@ -893,7 +893,7 @@ void XUA_AudioHub(chanend ?c_aud, clock ?clk_audio_mclk, clock ?clk_audio_bclk,
#if (XUA_SPDIF_TX_EN) && (SPDIF_TX_TILE == AUDIO_IO_TILE) #if (XUA_SPDIF_TX_EN) && (SPDIF_TX_TILE == AUDIO_IO_TILE)
{ {
set_thread_fast_mode_on(); set_thread_fast_mode_on();
SpdifTransmit(p_spdif_tx, c_spdif_out); spdif_tx(p_spdif_tx, c_spdif_out);
} }
#endif #endif