最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

如何编写Linux ALSA 音频驱动

Driver crifan 4567浏览 0评论

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

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

转载请注明:在路上 » 如何编写Linux ALSA 音频驱动

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.181 seconds, using 22.18MB memory