Skip to content

Instantly share code, notes, and snippets.

diff --git a/lib/adapter/sw/wayland/wayland.c b/lib/adapter/sw/wayland/wayland.c
index 9e9d479..1392c5d 100644
--- a/lib/adapter/sw/wayland/wayland.c
+++ b/lib/adapter/sw/wayland/wayland.c
@@ -183,6 +183,10 @@ static void handle_frame_done(void *ptr, struct wl_callback *cb, uint32_t time)
window = (kr_wayland_path *)ptr;
wl_callback_destroy(cb);
request_frame(window);
+ wl_display_dispatch_pending(window->wayland->display);
+ wl_display_flush(window->wayland->display);
/* Hrm ? */
typedef struct kr_input kr_input;
typedef struct kr_output kr_output;
typedef struct kr_bus kr_bus;
typedef enum {
KR_INPUT = 1,
KR_BUS,
KR_OUTPUT
} kr_vertex_type;
Node types: Input, Bus Output
ton fromn
kr_graph_connect(graph, [Bus,Output], [Input|Bus])
foeach node in graph
...
@oneman
oneman / gist:8517526
Created January 20, 2014 09:46
The Krad Radio
The Krad Radio
Unequal parts, suit for taste
-----------------------------
Vodka
Champagne
Red Bullshit
Blood Orange Juice
Notes:
a52dec
aalib
acl
alsa-lib
alsa-tools
alsa-utils
apr
apr-util
archlinux-keyring
ardour
[kradhome::~/kode/krad_radio]% curl -i -N http://:::16449/api/mixer
HTTP/1.0 200 OK
Status: 200 OK
Connection: close
Server: Krad-Radio
Content-Type: text/json; charset=utf-8
[{"com":"kradradio","info":"sysname","infoval":"bongohat"}]
Useful:
git clone https://github.com/oneman/dot.oneman.git
cd dot.oneman
cp .bashrc ~/.bashrc
. ~/.bashrc
May fix libav/ffmpeg issues (takes a while to compile tho):
pacman -S libtool make automake autoconf gcc clang llvm pkg-config \
m4 gdb vim git intltool wayland cairo libxkbcommon alsa-lib jack \
flac opus libogg libsamplerate libvorbis libtheora libvpx ffmpeg \
xmms2 xcb-util-image xcb-proto xcb-util xcb-util-cursor \
xcb-util-image xcb-util-keysyms xcb-util-renderutil \
xcb-util-wm alsa-tools alsa-utils
@oneman
oneman / gist:8327108
Created January 9, 2014 00:03
juca juca juca
Getting Source:
mkdir kode
cd kode
git clone https://github.com/krad-radio/krad_radio.git
cd krad_radio
Updating source:
git pull
[kradhome::~/kode/krad_radio]% ./autogen.sh
Updating build configuration files for krad radio...
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'