Skip to content

Instantly share code, notes, and snippets.

View krgn's full-sized avatar

Karsten Gebbert krgn

  • Staffbase
  • Berlin, Germany
View GitHub Profile
@krgn
krgn / UGen++ patch
Created May 8, 2012 23:37
UGen++ Linux FFTEngine
diff -rupN ../misc/ugen-read-only/UGen/convolution/ugen_Convolution.cpp Source/UGen/convolution/ugen_Convolution.cpp
--- ../misc/ugen-read-only/UGen/convolution/ugen_Convolution.cpp 2012-04-25 22:03:53.271107716 +0200
+++ Source/UGen/convolution/ugen_Convolution.cpp 2012-05-09 00:48:46.076143780 +0200
@@ -38,7 +38,7 @@
#if defined(UGEN_CONVOLUTION) && UGEN_CONVOLUTION
-#if !defined(WIN32) && !defined(UGEN_IPHONE) && !defined(UGEN_ANDROID)
+#if !defined(WIN32) && !defined(UGEN_IPHONE) && !defined(UGEN_ANDROID) && !defined(LINUX)
#include <Accelerate/Accelerate.h>
@krgn
krgn / gist:972202
Created May 14, 2011 13:18
ant and android - macro to kill, uninstall, install and then launch an app. requires a simple setting of "main-activity" in projects build.xml
<macrodef name="install-helper">
<sequential>
<echo>Killing the running app...</echo>
<exec executable="${adb}" failonerror="true">
<arg line="${adb.device.arg}" />
<arg value="shell" />
<arg value="killall" />
<arg value="${manifest.package}" />
</exec>
<echo>Uninstalling previous version for clean slate...</echo>