| Connector | Function |
|---|---|
| X8 | Microphone |
| X9 | Line In |
| X10 | Line Out |
Play Audio on MBa8Xx
A simple test sound can be played with the command-line tool speaker-test.
Headphones or active speakers have to be connected to X10 on MBa8Xx.
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
Record Audio on MBa8Xx
To record audio from the Line-In interface, use arecord:
arecord -f cd test.wav
amixer or alsamixer