1 Star 0 Fork 29

qiang.wei/pulseaudio

forked from src-openEuler/pulseaudio 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-Fix-the-problem-that-the-description-field-of-pa_als.patch 952 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 306282bee2b993ebdf83ffb6c731655bb841441d Mon Sep 17 00:00:00 2001
From: tangjie02 <tangjie02@kylinsec.com.cn>
Date: Tue, 26 Jul 2022 19:52:44 +0800
Subject: [PATCH] Fix the problem that the description field of pa_alsa_path
struct isn't translated
Signed-off-by: tangjie02 <tangjie02@kylinsec.com.cn>
---
src/modules/alsa/alsa-mixer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
index 7b755ce..49c3968 100644
--- a/src/modules/alsa/alsa-mixer.c
+++ b/src/modules/alsa/alsa-mixer.c
@@ -2838,7 +2838,7 @@ static int path_verify(pa_alsa_path *p) {
if (p->device_port_type == PA_DEVICE_PORT_TYPE_UNKNOWN)
p->device_port_type = map->type;
if (!p->description)
- p->description = pa_xstrdup(map->description);
+ p->description = pa_xstrdup(_(map->description));
}
if (!p->description) {
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qwei_8848/pulseaudio.git
git@gitee.com:qwei_8848/pulseaudio.git
qwei_8848
pulseaudio
pulseaudio
master

搜索帮助