Audiohub now takes some resources as params (prev was global)

This commit is contained in:
xross
2018-03-08 17:40:56 +00:00
parent a33950f675
commit a7645a9b0f
6 changed files with 268 additions and 140 deletions

View File

@@ -219,7 +219,7 @@ int main(void)
{
par
{
XUA_AudioHub(c_out);
XUA_AudioHub(c_out, clk_audio_mclk, clk_audio_bclk, p_mclk_in, p_lrclk, p_bclk);
generator(c_checker, c_out);
checker(c_checker, 0);
#ifdef SIMULATION