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

aud_stat = MSP_AUDIO_SAMPLE_CONTINUE #1

Open
randylj opened this issue Apr 26, 2018 · 3 comments
Open

aud_stat = MSP_AUDIO_SAMPLE_CONTINUE #1

randylj opened this issue Apr 26, 2018 · 3 comments

Comments

@randylj
Copy link

randylj commented Apr 26, 2018

看科大的接口说明:
当写入首块音频时,将audioStatus置为MSP_AUDIO_SAMPLE_FIRST
当写入最后一块音频时,将audioStatus置为MSP_AUDIO_SAMPLE_LAST
其余情况下,将audioStatus置为MSP_AUDIO_SAMPLE_CONTINUE
==>
流程中QISRAudioWrite, aud_stat 支会是MSP_AUDIO_SAMPLE_CONTINUE;

@wwptrdo
Copy link
Owner

wwptrdo commented May 12, 2018

在流程中加了判断的,可以看一下voice.c中的894行,这个是写入首块音频,在1004行是写入结束块音频

@randylj
Copy link
Author

randylj commented May 18, 2018

2018-05-18 2 33 44
--- 908行 才是真正提交告知讯飞的,但906不是每次读取snd都符合的。。

@wwptrdo
Copy link
Owner

wwptrdo commented Jun 30, 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

No branches or pull requests

2 participants