ALSA需要教程 [英] ALSA tutorial required
问题描述
我是新来的音频programming.I要创建小应用程序,它是能够播放并给出了音量控制。我使用的alsa-lib中。
I am New to audio programming.I want to create small application which is capable of playing and gives volume control . I am using alsa-lib.
我想知道什么是开关的目的(ex.Master回放开关),枚举在混频器元件和什么样的价值,我应该设置这些交换机。
I want to know what is the purpose of switch (ex.Master Playback switch), enum in mixer elements and what value should i set to those switchs .
请建议我一些教程,调音台的设置以及ALSA编程。
Please suggest me some tutorial for mixer settings as well as alsa programming .
推荐答案
只是收集了一些在这里,有例如code:
Just collecting some here, that have example code:
- ALSA编程HOWTO v.1.0.0 [alsamodular.sourceforge.net]
- 上使用ALSA音频API的指南[equalarea.com] 2002
- 在ALSA [volkerschatz.com] 仔细看
- ALSA API - 示例程序有了来源$ C $ c。使用Aquiles亚涅斯 2005
- 介绍声音编程使用ALSA | Linux杂志(PG3与例如code)2004年
- ALSA Programming HOWTO v.1.0.0 [alsamodular.sourceforge.net]
- A tutorial on using the ALSA Audio API [equalarea.com] 2002
- A close look at ALSA [volkerschatz.com]
- ALSA API - Sample Programs With Source Code By Aquiles Yanez 2005
- Introduction to Sound Programming with ALSA | Linux Journal (pg3 with example code) 2004
请注意,其中一些是旧的,和API可能在此期间已经改变了......你还可以看看 aplay.c
(源为命令行的arecord
和 aplay
),但是这一个是不是最容易对于初学者阅读...
Note that some of these are old, and API may have changed in the meantime... you can also look up aplay.c
(the source for the command line arecord
and aplay
), but that one is not the easiest to read for starters...
这篇关于ALSA需要教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!