News for hackers. Stuff that matters.
Re:C Object Oriented Programming (2014) by spaceywilly on Thursday December 21, 2023 @04:47PM (#38727476)
Yup. In a past job I did a lot of work writing ALSA drivers for custom souncards. The ALSA interface is a good example of this. They provide an API app developers can use to do sound stuff (change the volume, for example). In your sound card driver you provide an implementation of the API to do whatever changing the volume means for your particular hardware (in my case sending an i2c message to a digital potentiometer).

https://www.kernel.org/doc/html/v4.14/sound/kernel-api/alsa-...

There are no comments on this comment yet.