Skip to content

Instantly share code, notes, and snippets.

View FelixWeichselgartner's full-sized avatar

Felix Weichselgartner FelixWeichselgartner

View GitHub Profile
/*
A Minimal Capture Program
This program opens an audio interface for capture, configures it for
stereo, 16 bit, 44.1kHz, interleaved conventional read/write
access. Then its reads a chunk of random data from it, and exits. It
isn't meant to be a real program.
From on Paul David's tutorial : http://equalarea.com/paul/alsa-audio.html