03 2020 档案

摘要:https://alsa-project.org/main/index.php/DAPM https://www.kernel.org/doc/html/v4.11/sound/soc/dapm.html There are 4 power domains within DAPM: Codec do 阅读全文
posted @ 2020-03-23 15:02 fellow_jing 阅读(804) 评论(0) 推荐(0)
摘要:https://www.kernel.org/doc/html/v4.11/sound/soc/dpcm.html Description Dynamic PCM allows an ALSA PCM device to digitally route its PCM audio to variou 阅读全文
posted @ 2020-03-22 15:57 fellow_jing 阅读(2012) 评论(0) 推荐(0)
摘要:Machine(sound/soc/pxa/corgi.c): /* corgi digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link corgi_dai = { .name 阅读全文
posted @ 2020-03-21 14:52 fellow_jing 阅读(867) 评论(0) 推荐(0)
摘要:snd_pcm_open:open()->snd_open()(sound.c)->snd_pcm_playback_open() snd_pcm_params_any: snd_pcm_hw_params_set_xx snd_pcm_hw_params: snd_pcm_sw_params: s 阅读全文
posted @ 2020-03-06 15:46 fellow_jing 阅读(747) 评论(0) 推荐(0)
摘要:代码: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <alsa/asoundlib.h> #include <unistd.h> int ctl_val(char *c 阅读全文
posted @ 2020-03-03 21:11 fellow_jing 阅读(1253) 评论(0) 推荐(0)
摘要:aplay/arecord: playback: aplay -D default xxx.wav list cards & devices: aplay -l record: aplay -C -D defaut -d 10 -f S16_LE -r 48000 -c 2 -t wav xxx.w 阅读全文
posted @ 2020-03-02 19:41 fellow_jing 阅读(927) 评论(0) 推荐(0)
摘要:https://www.kernel.org/doc/html/v4.11/sound/kernel-api/writing-an-alsa-driver.html#control-interface Control Interface General The control interface i 阅读全文
posted @ 2020-03-02 16:10 fellow_jing 阅读(476) 评论(0) 推荐(0)
摘要:来源:https://github.com/stadaki/alsa-minivosc-src https://www.alsa-project.org/wiki/Minivosc static int debug = 1; /* Use our own dbg macro http://www.n 阅读全文
posted @ 2020-03-02 15:18 fellow_jing 阅读(654) 评论(0) 推荐(0)