I am using Colibri iMX6 DL, I want to transfer sgtl5000 audio data to EIM bus and read simultaneously(Example like telephone system)
i have used this command to loopback audio from mic to speaker within processor :
“arecord -Dhw:0,0 -f S16_LE -c 2 -r 44100 | aplay”
Kindly suggest me how to read and write audio data from sgtl5000 to EIM bus.
And please provide any sample code.