Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
尘离序散
obs-studio
提交
d6b0a603
O
obs-studio
项目概览
尘离序散
/
obs-studio
与 Fork 源项目一致
从无法访问的项目Fork
通知
30
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
obs-studio
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d6b0a603
编写于
8月 06, 2015
作者:
P
Palana
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
coreaudio-encoder: Move to C++
上级
02a09fde
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
293 addition
and
188 deletion
+293
-188
plugins/coreaudio-encoder/CMakeLists.txt
plugins/coreaudio-encoder/CMakeLists.txt
+1
-1
plugins/coreaudio-encoder/encoder.cpp
plugins/coreaudio-encoder/encoder.cpp
+284
-186
plugins/coreaudio-encoder/windows-imports.h
plugins/coreaudio-encoder/windows-imports.h
+8
-1
未找到文件。
plugins/coreaudio-encoder/CMakeLists.txt
浏览文件 @
d6b0a603
project
(
coreaudio-encoder
)
project
(
coreaudio-encoder
)
set
(
coreaudio-encoder_SOURCES
set
(
coreaudio-encoder_SOURCES
encoder.c
)
encoder.c
pp
)
if
(
WIN32
)
if
(
WIN32
)
set
(
coreaudio-encoder_HEADERS windows-imports.h
)
set
(
coreaudio-encoder_HEADERS windows-imports.h
)
...
...
plugins/coreaudio-encoder/encoder.c
→
plugins/coreaudio-encoder/encoder.c
pp
浏览文件 @
d6b0a603
此差异已折叠。
点击以展开。
plugins/coreaudio-encoder/windows-imports.h
浏览文件 @
d6b0a603
...
@@ -387,7 +387,7 @@ static void release_lib(void)
...
@@ -387,7 +387,7 @@ static void release_lib(void)
static
bool
load_lib
(
void
)
static
bool
load_lib
(
void
)
{
{
PWSTR
common_path
;
PWSTR
common_path
;
if
(
SHGetKnownFolderPath
(
&
FOLDERID_ProgramFilesCommon
,
0
,
NULL
,
if
(
SHGetKnownFolderPath
(
FOLDERID_ProgramFilesCommon
,
0
,
NULL
,
&
common_path
)
!=
S_OK
)
{
&
common_path
)
!=
S_OK
)
{
CA_LOG
(
LOG_WARNING
,
"Could not retrieve common files path"
);
CA_LOG
(
LOG_WARNING
,
"Could not retrieve common files path"
);
return
false
;
return
false
;
...
@@ -433,6 +433,10 @@ static void unload_core_audio(void)
...
@@ -433,6 +433,10 @@ static void unload_core_audio(void)
release_lib
();
release_lib
();
}
}
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4706)
#endif
static
bool
load_core_audio
(
void
)
static
bool
load_core_audio
(
void
)
{
{
if
(
!
load_lib
())
if
(
!
load_lib
())
...
@@ -465,3 +469,6 @@ unload_everything:
...
@@ -465,3 +469,6 @@ unload_everything:
return
false
;
return
false
;
}
}
#ifdef _MSC_VER
#pragma warning(pop)
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录