Having two buffers for audio isn't really good.
Make the maximum size of the jbuf at least 4 times the capacity.

Should prevent issues that might occur because a different thread is
reading it.
Increase video quality and distance between keyframes.
Fixed a memory leak
Fixed memory leaks.
Merge branch 'mem-leak-fix' of https://github.com/nurupo/InsertProjectNameHere
Merge branch 'master' into debian/unstable
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
Merge tag 'debian/0.0.0+20141212.r3022-1' into debian/stable

toxcore Debian release 0.0.0+20141212.r3022-1
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
More group auto testing.
Sendback data size is always 8 bytes.
Fixed DHT doc.
Merge branch 'master' into debian/unstable
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
Merge tag 'debian/0.0.0+20141215.r3025-1' into debian/stable

toxcore Debian release 0.0.0+20141215.r3025-1
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
Increased max TCP connections.
Some optimizations on how TCP relays are used.
DHT fixes.

This should speed up DHT searches.