随笔分类 - 音频
摘要:参考:https://blog.csdn.net/weixin_41944449/category_7596136.html G_DEFINE_TYPE: G_DEFINE_TYPE是一个宏定义。宏展开如下: #define G_DEFINE_TYPE(TN, t_n, T_P) /*******
阅读全文
摘要:转自:https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/index.html?gi-language=c https://blog.csdn.net/techx/article/details/44
阅读全文
摘要:https://gstreamer.freedesktop.org/documentation/plugin-development/index.html?gi-language=c Constructing the Boilerplate In this chapter you will lear
阅读全文
摘要:转自:https://gstreamer.freedesktop.org/documentation/application-development/advanced/?gi-language=c Clocks and synchronization in GStreamer When playin
阅读全文
摘要:转自:https://gstreamer.freedesktop.org/documentation/application-development/basics/index.html?gi-language=c https://blog.csdn.net/shallon_luo/article/d
阅读全文
摘要:参考: https://elixir.bootlin.com/linux/v4.9.218/source/sound/soc/soc-dapm.c#L804 https://blog.csdn.net/DroidPhone/article/details/14146319 https://blog.
阅读全文
摘要:通过snd_soc_register_card来注册card,即注册整个machine driver. 此函数接收一个参数 snd_soc_card: /* SoC card */ struct snd_soc_card { const char *name; const char *long_na
阅读全文
摘要:参考: https://elixir.bootlin.com/linux/v4.9.218/source/sound/soc/soc-core.c#L3314 https://blog.csdn.net/DroidPhone/article/details/7283833 在移动设备中,Codec的
阅读全文
摘要:参考: https://elixir.bootlin.com/linux/v4.9.218/source/sound/soc/soc-core.c#L3034 https://blog.csdn.net/DroidPhone/article/details/7316061 CPU DAI通过调用sn
阅读全文
摘要:参考: https://elixir.bootlin.com/linux/v4.9.218/source/sound/soc/soc-core.c#L3159 https://blog.csdn.net/DroidPhone/article/details/7316061 platform通过调用s
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Machine(sound/soc/pxa/corgi.c): /* corgi digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link corgi_dai = { .name
阅读全文
摘要: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
阅读全文
摘要:代码: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <alsa/asoundlib.h> #include <unistd.h> int ctl_val(char *c
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:来源: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号