====== 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
++++ example |
root@MBa6x:~ aplay testfile.wav
Playing WAVE 'testfile' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
++++
==== 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
++++ example |
root@MBa6x:~ arecord -f cd testfile.wav
Recording WAVE 'testfile' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
++++