|
|
|
|
|
by spaceywilly
911 days ago
|
|
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-... |
|