| Connector | Function |
|---|---|
| X3 | Microphone & Headphone |
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
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
amixer or alsamixer