Examples, examples, examples
If there’s one thing I love is examples, they are often minimal and not very explicative, moreover multiple examples on the same subject are never the same. That said, if you need to reverse-engineer something examples are (most of the times)your only resource.
Here’s some categorized examples about ALSA:
The PCM interface
- some dwm bar that has some good simple code
- volh: play through internal and external sound cards, whatever that means