Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复一些小问题,支持win编译。 #1

Merged
merged 11 commits into from
Apr 9, 2018
Merged

修复一些小问题,支持win编译。 #1

merged 11 commits into from
Apr 9, 2018

Conversation

wi1dcard
Copy link
Contributor

如题。

Win 编译通过。

src/common.h Outdated
@@ -35,7 +35,7 @@

#define FRAME_SIZE (160 * MULTI)

uint64_t inline cal_time_by_frame(int frame);
uint64_t cal_time_by_frame(int frame);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把这两个函数改为宏如何?

src/main.c Outdated
@@ -16,7 +16,7 @@ int main() {
const char filename[] = "pcm/16k_1.pcm"; // 读取的文件
const char output_filename_prefix[] = "16k_1.pcm"; // 保存的文件名
const char output_dir[] = "output_pcm"; // 保存的目录
FILE *fp = fopen(filename, "r");
FILE *fp = fopen(filename, "r+b");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

orsome

@wi1dcard
Copy link
Contributor Author

wi1dcard commented Apr 2, 2018

已改 :D @chenxiaoyu3

@chenxiaoyu3 chenxiaoyu3 merged commit 820ff59 into Baidu-AIP:master Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants