I'm totally lost, does anyone have a very simple example of how to record a sound using ALSA with c++? the only thing i need is the raw samples as signed bytes for feeding them to another part of my program. All the examples i found googling seem to have issues with PulseAudio or don't cover what i need.
views:
170answers:
1
+1
A:
Listing 4 in this article shows how to use the ALSA library API to capture audio.
Troubadour
2009-12-18 23:55:07