Spkmodem

From coreboot
Revision as of 17:44, 5 June 2013 by GNUtoo (talk | contribs) (Created page with "== Howto == Download grub's trunk: bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub cd grub Compile the receiver code: cd util gcc -o spkmodem-recv spkmodem-recv.c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The wiki is being retired!

Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!

Howto

Download grub's trunk:

bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub
cd grub

Compile the receiver code:

cd util
gcc -o spkmodem-recv spkmodem-recv.c

Run it like that if you have pulseaudio:

parecord --channels=1 --rate=48000 --format=s16le | ./spkmodem-recv

Or like that for alsa:

arecord -c 1 -r 48000 -Dplughw:0 -f S16_LE | ./spkmodem-recv