TQMa67xx - YOCTO Linux BSP documentation


Audio

Audio Connector Overview

Connector Function
X25 Microphone
X26 Line In
X27 Line Out

Audio Connector Location

Play Audio on MBa67xx

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

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 MBa67xx

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