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

AudioStreamBuffered::onDefaultCallback() should call writeNow() #154

Closed
philburk opened this issue Jul 5, 2018 · 2 comments
Closed

AudioStreamBuffered::onDefaultCallback() should call writeNow() #154

philburk opened this issue Jul 5, 2018 · 2 comments
Assignees
Milestone

Comments

@philburk
Copy link
Collaborator

philburk commented Jul 5, 2018

There is a FIXME in the code that needs to be reviewed. A unit test would help.

@philburk philburk added this to the v1.0 milestone Jul 5, 2018
@philburk philburk self-assigned this Jul 5, 2018
@dturner
Copy link
Collaborator

dturner commented Aug 7, 2018

Phil to investigate independently

@philburk
Copy link
Collaborator Author

philburk commented Oct 3, 2018

After analyzing the code, I think calling write() is correct. The readNow() zeros out the unfilled part of the buffer. There is no similar behavior for write. So there is now writeNow().

BTW, when studying the code I found Issue #233

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