TQMa8MxML - YOCTO Linux BSP documentation


Audio

Audio Connector Overview

Connector Function
X14 Line Out
X12 Microphone
X13 Line In
The microphone input is not supported in the current BSP version.

Audio Connector Location

Play Audio on MBa8Mx

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

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

Or the following command to use the default audiocard:

speaker-test --channels 2 --test wav

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 MBa8Mx

To record audio from the Line-In interface, use arecord:

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