The audio codec used is the WM8731, is low power stereo codec with an integrated headphone driver, stereo line-out, stereo line-in and mono microphone level audio inputs.
WM8731 Codecs is supported by the Linux kernel and works with alsa drivers.
PIN | Aria G25 |
---|---|
1 3V3 | W24 |
2 RF | W16 (PA29) |
3 RD | W14 (PA27) |
4 TK | W11 (PA24) |
5 TF | W12 (PA25) |
6 TD | W13 (PA26) |
7 SDA | W17 (PA30-SDA0) |
8 SCL | W18 (PA31-SCL0) |
9 RK | W15 (PA28) |
10 GND | W1 |
The daisy connectors where to plug this board are:
Board | Daisy Connector |
---|---|
TERRA | D16 |
The Kernel configuration, device tree bindings and source patches are available on this article:
~# apt-get install alsa-utils
Run alsamixer:
~# alsamixer -V all
Configure alsa in this way:
Save 5 second of stereo audio in a .wav file:
~# arecord -d 5 -v -v -Dhw:0,0 -f cd record_line_in.wav
Play the .wav file:
~# aplay record_line_in.wav
Change volume:
~# amixer set Master 10%-