DC-1 and DC-2 is connected to each other and DC-1 is connected to computer where linux and openavb is running. Each DC has audio slice kit with 4 audio channels.
here is the xmos demo: https://www.youtube.com/watch?v=DrG4oDxl78Q
I am trying to accomplish what they showed.
I want the configuration like DC-2 as talker and DC-1 as listener/talker and DC-1 listens DC-2's audio channels and send it to DC-1, DC-1 receives those channels and send those channels and its own audio channels to computer view avb ethernet.
Totally it should send 8 channels to computer.
I tried original source code (AVB-Daisy-Chain-Software_1.0.6). But did not get expected results.
Then I changed some part of code in main.xc in this code:
Code: Select all
//
//#if AVB_DEMO_ENABLE_TALKER
// // AVB Talker - must be on the same tile as the audio interface
// on tile[0]: avb_1722_talker(c_ptp[PTP_TO_TALKER],
// c_mac_tx[MAC_TX_TO_TALKER],
// c_talker_ctl[0],
// AVB_NUM_SOURCES);
//#endif
on tile[0]: avb_1722_talkerlistener(c_ptp[PTP_TO_TALKER],
c_mac_rx[MAC_RX_TO_LISTENER],
c_mac_tx[MAC_TX_TO_TALKER],
c_listener_ctl[0],
c_talker_ctl[0],
c_buf_ctl[0],
AVB_NUM_SINKS,
AVB_NUM_SOURCES);
//#if AVB_DEMO_ENABLE_LISTENER
// // AVB Listener
// on tile[0]: avb_1722_listener(c_mac_rx[MAC_RX_TO_LISTENER],
// c_buf_ctl[0],
// null,
// c_listener_ctl[0],
// AVB_NUM_SINKS);
//#endif
But still same problem. computer does not receive 8 channels from two DCs.
Please give me a suggestion.
Thank you.