Hi,
I'm trying to figure out where to insert code to perform a loopback test.
In my app I have I2S_CHANS_ADC=6 and I2S_CHANS_DAC=4 and I want to take samples from the last stereo pair of my ADC:s (4,5) and copy these to last stereo pair of my DAC:s (2,3). Thus override any samples coming from the USB host for those particular channels.
So far I tried to modify the "DoSampleTransfer" funtion in audio.xc without any luck...is this the right place to do this?
Loopback I2S on Audio MC board application
-
- Member++
- Posts: 21
- Joined: Fri May 05, 2017 1:39 pm
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Hi. Not an audio developer but perhaps you can study the following examples:
https://github.com/xmos/lib_i2s
https://github.com/xmos/lib_i2s/tree/master/examples
reference:
http://www.xcore.com/viewtopic.php?t=3525
https://github.com/xmos/lib_i2s
https://github.com/xmos/lib_i2s/tree/master/examples
reference:
http://www.xcore.com/viewtopic.php?t=3525
You do not have the required permissions to view the files attached to this post.
-
- Member++
- Posts: 21
- Joined: Fri May 05, 2017 1:39 pm
Thanks for your reply. Yes I'm aware of these examples. However I'm looking for a way to modify the audio usb sw framework.