如何编写Linux ALSA 音频驱动

1.优先推荐:

Writing an ALSA Driver

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相关的所有的内容供下载:

Download – AlsaProject

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

3.也可以去看:

ALSA Programming HOWTO

http://www.suse.de/~mana/alsa090_howto.html

4.另外这个帖子:

Writing an ALSA Driver–PCM Interface – EIP的专栏 – 博客频道 – CSDN.NET

中有代码的逻辑的分析,可以参考参考。



发表评论

电子邮件地址不会被公开。 必填项已用*标注

无觅相关文章插件,快速提升流量