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

补全音频最后帧的逻辑错误 #13

Open
RiskySignal opened this issue Jul 16, 2020 · 0 comments
Open

补全音频最后帧的逻辑错误 #13

RiskySignal opened this issue Jul 16, 2020 · 0 comments

Comments

@RiskySignal
Copy link

RiskySignal commented Jul 16, 2020

simple_vad.c > read_int_butes 方法中,当最后一帧不足长的时候,用memset填充0;
这边填充的起始位置是不是不太对?
改成memset(&output[read_length], 0, (FRAME_SIZE - read_length) * sizeof(int16_t));是不是更合适?

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

1 participant