TQMa95xxLA - YOCTO Linux BSP documentation


Audio

Audio Connector Overview

Connector Function
X22 Headphone / Microphone
X24 Line Out
X23 Line In

Audio Connector Location

Play Audio on MBa95xxCA

A simple test sound can be played with the command-line tool speaker-test.
Headphones or active speakers have to be connected to X24 on MBa95xxCA.

speaker-test --channels 2 --test wav -D sysdefault:CARD=tqmtlv320aic32

You can also play your own audio files using aplay

aplay <file>

e.g.

aplay test.wav 
Please note that the default image does not include audio test files.

Record Audio on MBa95xxCA

To record audio from the X22 interface, use arecord:

arecord -f cd test.wav
The audio settings can be configured using amixer or alsamixer