I'm completely lost, does anyone have a very simple example of how to record sound using ALSA using C ++? the only thing I need is raw samples in the form of signed bytes to feed them to another part of my program. All the examples I came across seem to have problems with PulseAudio or not covering what I need.
source
share