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

Don't close the input stream on overflow. #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martinblech
Copy link

Fixes this issue: #34 (comment)

Clients can log if they want by registering handlers, no need to flood stdout with logs.
scriptorian added a commit that referenced this pull request Jan 10, 2020
@scriptorian
Copy link

I have added a closeOnError option on stream creation that allows you to turn off the default error handling that closes the stream. This defaults to true to maintain the current behaviour.
I have removed some of the logging but left in the error handler as removing it would cause a crash in code that didn't listen for errors.

@andreamisu
Copy link

Do we have any news / workaround on this pull request?
Currently handling my microphone registration capabilities using naudiodon but facing overflow quite frequently.

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

Successfully merging this pull request may close these issues.

3 participants