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

Conversation

Projects
None yet
3 participants
@wi1dcard
Copy link
Contributor

wi1dcard commented Mar 30, 2018

如题。

Win 编译通过。

@@ -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);

This comment has been minimized.

@chenxiaoyu3

chenxiaoyu3 Apr 2, 2018

Member

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

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");

This comment has been minimized.

@chenxiaoyu3
@wi1dcard

This comment has been minimized.

Copy link
Contributor

wi1dcard commented Apr 2, 2018

已改 :D @chenxiaoyu3

@chenxiaoyu3 chenxiaoyu3 merged commit 820ff59 into Baidu-AIP:master Apr 9, 2018

@xinlongpeng

This comment has been minimized.

Copy link

xinlongpeng commented on 9484e78 Aug 22, 2018

这个指支持pcm格式么,是否支持其他格式

This comment has been minimized.

Copy link
Contributor

wi1dcard replied Aug 22, 2018

@xinlongpeng 需要提取成 pcm 才能被识别

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment