Here described IMX6 audio recording and playing out-of-box solution using linux arecord and aplay utilities. IMX6ULL to be precise. Based on NetSoM development board.
You have to stick WM8960 audio module to NetSoM development board. Then plug some audio speakers or headphones to audio module. That audio module has onboard microphones so no need to use headphones with microphone. Then just power up development board and connect via SSH. Here SAI protocol used to communicate processor and audio codec IC.
WM8960 configured to use following paths for audio signals.
Here is merge request that implements support of WM8960 codec.
Audio file might be recorded using arecord utility:
To play previously recorded audio file use aplay utility:
That is it. pretty simple:
Here you can find guide to implement audio streaming using SIP protocol.
Keep following as here at our telegram channel!