1.优先推荐:
http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/
此帖有三个版本:
都可以在这里找到:
ALSA Driver Documentation – AlsaProject
http://www.alsa-project.org/main/index.php/ALSA_Driver_Documentation
另外上面也有ALSA的API文档:
而且,这里还有ALSA相关的所有的内容供下载:
http://www.alsa-project.org/main/index.php/Download
Package | Stable Release (2012-01-25) | Development Release | Description |
---|---|---|---|
Driver (alsa-driver) | 1.0.25 | none | Kernel drivers |
Firmware alsa-firmware) | 1.0.27 | none | Firmware for cards that require it |
Library (alsa-lib) | 1.0.27.2 | none | Userspace library |
Plugins (alsa-plugins) | 1.0.27 | none | Additional library plugins Eg.jack, pulse, maemo … |
Utilities (alsa-utils) | 1.0.27.2 | none | Utilities aplay,arecord,amixer etc |
Tools (alsa-tools) | 1.0.27 | none | Tools |
PyALSA (pyalsa) | 1.0.26 | none | Python bindings for ALSA lib |
OSS compat lib (alsa-oss) | 1.0.25 | none | OSS compatibility library |
2.这个pdf貌似不错:
Audio in embedded Linux systems
http://free-electrons.com/doc/embedded_linux_audio.pdf
http://www.suse.de/~mana/alsa090_howto.html
4.另外这个帖子:
Writing an ALSA Driver–PCM Interface – EIP的专栏 – 博客频道 – CSDN.NET
中有代码的逻辑的分析,可以参考参考。
转载请注明:在路上 » 如何编写Linux ALSA 音频驱动