Skip to content

Instantly share code, notes, and snippets.

irungentoo / openal_loopback.diff
Last active Aug 29, 2015
Openal loopback patch.
View openal_loopback.diff
diff --git a/Alc/ALc.c b/Alc/ALc.c
index baf7f01..586cfb7 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2221,6 +2221,8 @@ static ALCvoid FreeDevice(ALCdevice *device)
device->DryBuffer = NULL;
+ DestroyRingBuffer(device->loopback_ring);
View gist:58dd6df2681093026c87
tox dns3 standard.
Encrypted Tox dns requests and responses.
[4 byte nonce][temporary client public key][encrypted with crypto_box(temporary client public key, server long term public key, 4 byte nonce + 20 byte zeros)[queried username]]
-> base32 (a to z, 0 to 5) -> separate with . as needed.
irungentoo /
Last active Jan 4, 2016
NOTE: DEPRECATED. Script to statically cross compile for windows from linux.
#You need mingw with gcc version 4.7 or higher because ProjectTox-Qt-GUI uses C++11
#change WINDOWS_TOOLCHAIN from i686-w64-mingw32 to whatever your toolchain is.
mkdir prefix
cd prefix
cd ..
irungentoo /
Last active Dec 25, 2015
NOTE: DEPRECATED. Build script to cross compile Tox for windows with all of its dependencies.
#Note: This only works with mingw 3.0 or later (previous versions don't have pthreads)
#You need mingw 3.0 or later, yasm and cmake
#If you use something other than mingw-w64-i686 you must modify the script accordingly
#If you are on ubuntu 13.10:
#sudo apt-get install gcc-mingw-w64-i686 yasm cmake
mkdir prefix