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

fix memory leak by using a fixed size buffer pool #30

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

Conversation

christoph-neumann
Copy link
Contributor

This solves two issues:

  1. source.UnqueueBuffer().Delete() doesn't actually free the underlying memory
  2. slowdowns in soundcard playback can cause unbounded growth in the audio buffer

@christoph-neumann
Copy link
Contributor Author

I also added flags to allow half-duplex connections.

@ghost
Copy link

ghost commented Dec 10, 2016

Memory leak patch committed as 0f9d00e.

Still thinking about config change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant