ALSA需要教程 [英] ALSA tutorial required

查看:304
本文介绍了ALSA需要教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的音频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 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆