上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: 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 阅读(719) 评论(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 阅读(1077) 评论(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 阅读(835) 评论(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 阅读(417) 评论(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 阅读(585) 评论(0) 推荐(0) 编辑
摘要: External Plugin: Filter-Type Plugin The filter-type plugin is a plugin to convert the PCM signals from the input and feeds to the output. Thus, this p 阅读全文
posted @ 2020-02-28 16:18 fellow_jing 阅读(769) 评论(0) 推荐(0) 编辑
摘要: https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_external_plugins.html External Plugin: I/O Plugin The I/O-type plugin is a PCM plugin to work as th 阅读全文
posted @ 2020-02-27 23:24 fellow_jing 阅读(819) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html #include <stdio.h> #include <stdlib.h> #include <string.h> #include <get 阅读全文
posted @ 2020-02-27 17:13 fellow_jing 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_7d7e9d0f0101lqlp.html alsa lib: #!bin/sh rm -rf ./output/* mkdir -p ./output chmod -R 777 ./output OUTPUT_PATH=`pwd`/ou 阅读全文
posted @ 2020-02-22 16:24 fellow_jing 阅读(877) 评论(0) 推荐(0) 编辑
摘要: https://wenku.baidu.com/view/18472c1387c24028915fc3e9.html https://wenku.baidu.com/view/1e380bc20c22590102029d3f.html Bellagio 目录结构: src/: omxcore.c包含 阅读全文
posted @ 2020-02-16 21:30 fellow_jing 阅读(737) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 16 下一页