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

User.Voice.Read return the amount you want to read. #66

Open
JordanMotta opened this issue Jun 15, 2022 · 0 comments
Open

User.Voice.Read return the amount you want to read. #66

JordanMotta opened this issue Jun 15, 2022 · 0 comments

Comments

@JordanMotta
Copy link

I am not sure if this is a bug or not. But I was searching inside AudioDecodingBuffer.cs and and inside method Read I saw that in case you have no data to read the method returns 0, but I all the time I get the same amount that I want to read. So I have no way to know whether the data was read succefully or not. I tried to place a big buffer (96000) and sometimes I get a different values (normally smaller) but other times I get the same size of the buffer.

Basically it never returns 0. Is this the wanted behavior?

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