MODULE_AUTHOR、MODULE_DESCRIPTION、MODULE_VERSION、MODULE_DEVICE_TABLE、MODULE_ALIAS分别声明模块的作者、描述、版本、设备表和别名
/**
* fls - find last (most-significant) bit set
* @x: the word to search
*
* This is defined the same way as ffs.
* Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32 .
*/
static __always_inline int fls(int x)
/* Power down widgets first; try to avoid amplifying pops. */
dapm_seq_run(codec, &down_list, event, dapm_down_seq);
http://dev.firnow.com/course/6_system/linux/Linuxjs/200868/123674_2.html
在PCM回放开始之后,我们必须确保我们的应用程序发送足够的数据到声卡缓冲区.否则,将发生缓冲区欠载.当这样一个缓冲区欠载发生以后,snd_pcm_prepare将被调用.一个简单的立体声锯齿波能以这样的方式生成:
http://www.suse.de/~mana/alsa090_howto.html
alsa_aplay:播放测试声音命令,alsa_aplay xxx.wav。
alsa_amixer:混音器信息和命令。
alsa_alsactl :ALSA控制。
arecord:加-l参数列出当前数字音频设备,加-L列出当前PCM设备。arecord -D 设备名 xxx.wav可录音。
2695

被折叠的 条评论
为什么被折叠?



