Skip to content

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

Open
christoph-neumann wants to merge 2 commits intolayeh:masterfrom
christoph-neumann:master
Open

fix memory leak by using a fixed size buffer pool#30
christoph-neumann wants to merge 2 commits intolayeh:masterfrom
christoph-neumann:master

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