MBa8MP-RAS314 - YOCTO Linux BSP documentation


Audio

Audio Connector Overview

Connector Function
X3 Microphone & Headphone

Audio Connector Location

Play Audio on MBa8MP-RAS314

A simple test sound can be played with the command-line tool speaker-test.
A headset has to be connected to X3 on MBa8MP-RAS314.

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

You can also play your own audio files using aplay

aplay <device> <file>

e.g.

aplay -Dhw:tqmba8mpras314 /tmp/test1.wav 
Please note that the default image does not include audio test files.

Record Audio on MBa8MP-RAS314

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

arecord -D hw:tqmba8mpras314 -t wav -f cd -c 2 -d 10 /tmp/test1.wav
The audio settings can be configured using amixer or alsamixer