This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ardour { | |
["type"] = "EditorHook", | |
name = "OSC Marker Msg", | |
author = "Ardour Lua Task Force", | |
description = "Send a OSC message when playing through a marker", | |
} | |
function action_params () | |
return | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
set -e | |
for d in ~/.u-he/*/dialog.[36][24]; do | |
if test -f $d.real; then continue; fi | |
mv "$d" "$d.real" | |
cat > $d << EOF | |
#!/bin/sh | |
unset LD_LIBRARY_PATH | |
exec \$(readlink -f \$0).real "\$@" | |
EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test signal *power* to dBFS conversion | |
// gcc -O3 -o logspeed logspeed.c -Wall -lm | |
// -ffast-math -fno-finite-math-only | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <time.h> | |
#include <sys/time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gcc -o fftw_concurrency_test fftw_concurrency_test.c -Wall -pthread `pkg-config --cflags --libs fftw3f` -lfftw3f_threads | |
/* 2 is sufficient to produce crashes, 8 makes it more likely */ | |
#define MAXTHREAD 8 | |
/* there is no c-header for this, yet */ | |
extern void fftwf_make_planner_thread_safe (); | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc | |
index 133e094..cbedcd1 100644 | |
--- a/libs/canvas/canvas.cc | |
+++ b/libs/canvas/canvas.cc | |
@@ -727,7 +727,10 @@ GtkCanvas::item_going_away (Item* item, boost::optional<Rect> bounding_box) | |
bool | |
GtkCanvas::on_expose_event (GdkEventExpose* ev) | |
{ | |
+ static int on = 1; | |
Cairo::RefPtr<Cairo::Context> cairo_context = get_window()->create_cairo_context (); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/cairo-1.14.0/src/win32/cairo-win32-display-surface.c 2013-08-29 06:04:28.000000000 +0200 | |
+++ b/cairo-1.14.0/src/win32/cairo-win32-display-surface.c 2014-10-25 12:57:06.773382276 +0200 | |
@@ -450,33 +450,42 @@ | |
if (surface->image) | |
goto done; | |
if (surface->fallback == NULL) { | |
surface->fallback = | |
_cairo_win32_display_surface_create_for_dc (surface->win32.dc, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "========================================" | |
echo "Part I: ALSA" | |
if [ -e '/proc/asound/version' ]; then | |
cat '/proc/asound/version' | |
echo | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$1" = '-h' -o "$1" = '--help' ]; then | |
me="${0##*/}" | |
echo "$me: list ALSA devices and relevant information." | |
exit 0 | |
fi | |
if [ -e '/proc/asound/version' ]; then | |
cat '/proc/asound/version' |
NewerOlder