Audio
Please see supported features list of your TQ module to verify that audio playback / recording is supported by the Board Support Package
Audio playback
The latest BSP revisions are preconfigured for audio playback, when audio is supported.
Playback:
aplay testfile.wav
Audio recording
In order to start audio recording via the Line In connector the following alsamixer settings have to be applied :
amixer set 'Right Input Mixer IN1_R P' unmute amixer set 'Left Input Mixer IN1_L P' unmute amixer set 'ADCFGA Right Mute' mute amixer set 'ADCFGA Left Mute' mute mount -o remount,rw /
Recording:
arecord -f cd testfile.wav