Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
05325120
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
05325120
编写于
7月 03, 2017
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
上级
1233f6f5
8a70b454
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
42 addition
and
1 deletion
+42
-1
Documentation/sound/soc/dapm.rst
Documentation/sound/soc/dapm.rst
+18
-0
include/sound/soc-dapm.h
include/sound/soc-dapm.h
+7
-0
include/uapi/sound/asoc.h
include/uapi/sound/asoc.h
+9
-1
sound/soc/soc-topology.c
sound/soc/soc-topology.c
+8
-0
未找到文件。
Documentation/sound/soc/dapm.rst
浏览文件 @
05325120
...
...
@@ -105,6 +105,24 @@ Pre
Special PRE widget (exec before all others)
Post
Special POST widget (exec after all others)
Buffer
Inter widget audio data buffer within a DSP.
Scheduler
DSP internal scheduler that schedules component/pipeline processing
work.
Effect
Widget that performs an audio processing effect.
SRC
Sample Rate Converter within DSP or CODEC
ASRC
Asynchronous Sample Rate Converter within DSP or CODEC
Encoder
Widget that encodes audio data from one format (usually PCM) to another
usually more compressed format.
Decoder
Widget that decodes audio data from a compressed format to an
uncompressed format like PCM.
(Widgets are defined in include/sound/soc-dapm.h)
...
...
include/sound/soc-dapm.h
浏览文件 @
05325120
...
...
@@ -510,6 +510,13 @@ enum snd_soc_dapm_type {
snd_soc_dapm_dai_out
,
snd_soc_dapm_dai_link
,
/* link between two DAI structures */
snd_soc_dapm_kcontrol
,
/* Auto-disabled kcontrol */
snd_soc_dapm_buffer
,
/* DSP/CODEC internal buffer */
snd_soc_dapm_scheduler
,
/* DSP/CODEC internal scheduler */
snd_soc_dapm_effect
,
/* DSP/CODEC effect component */
snd_soc_dapm_src
,
/* DSP/CODEC SRC component */
snd_soc_dapm_asrc
,
/* DSP/CODEC ASRC component */
snd_soc_dapm_encoder
,
/* FW/SW audio encoder component */
snd_soc_dapm_decoder
,
/* FW/SW audio decoder component */
};
enum
snd_soc_dapm_subclass
{
...
...
include/uapi/sound/asoc.h
浏览文件 @
05325120
...
...
@@ -73,7 +73,15 @@
#define SND_SOC_TPLG_DAPM_DAI_IN 13
#define SND_SOC_TPLG_DAPM_DAI_OUT 14
#define SND_SOC_TPLG_DAPM_DAI_LINK 15
#define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_DAI_LINK
#define SND_SOC_TPLG_DAPM_BUFFER 16
#define SND_SOC_TPLG_DAPM_SCHEDULER 17
#define SND_SOC_TPLG_DAPM_EFFECT 18
#define SND_SOC_TPLG_DAPM_SIGGEN 19
#define SND_SOC_TPLG_DAPM_SRC 20
#define SND_SOC_TPLG_DAPM_ASRC 21
#define SND_SOC_TPLG_DAPM_ENCODER 22
#define SND_SOC_TPLG_DAPM_DECODER 23
#define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_DECODER
/* Header magic number and string sizes */
#define SND_SOC_TPLG_MAGIC 0x41536F43
/* ASoC */
...
...
sound/soc/soc-topology.c
浏览文件 @
05325120
...
...
@@ -242,6 +242,14 @@ static const struct soc_tplg_map dapm_map[] = {
{
SND_SOC_TPLG_DAPM_DAI_IN
,
snd_soc_dapm_dai_in
},
{
SND_SOC_TPLG_DAPM_DAI_OUT
,
snd_soc_dapm_dai_out
},
{
SND_SOC_TPLG_DAPM_DAI_LINK
,
snd_soc_dapm_dai_link
},
{
SND_SOC_TPLG_DAPM_BUFFER
,
snd_soc_dapm_buffer
},
{
SND_SOC_TPLG_DAPM_SCHEDULER
,
snd_soc_dapm_scheduler
},
{
SND_SOC_TPLG_DAPM_EFFECT
,
snd_soc_dapm_effect
},
{
SND_SOC_TPLG_DAPM_SIGGEN
,
snd_soc_dapm_siggen
},
{
SND_SOC_TPLG_DAPM_SRC
,
snd_soc_dapm_src
},
{
SND_SOC_TPLG_DAPM_ASRC
,
snd_soc_dapm_asrc
},
{
SND_SOC_TPLG_DAPM_ENCODER
,
snd_soc_dapm_encoder
},
{
SND_SOC_TPLG_DAPM_DECODER
,
snd_soc_dapm_decoder
},
};
static
int
tplc_chan_get_reg
(
struct
soc_tplg
*
tplg
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录