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/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); |
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
/* 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; |
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
Node types: Input, Bus Output | |
ton fromn | |
kr_graph_connect(graph, [Bus,Output], [Input|Bus]) | |
foeach node in graph | |
... |
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
The Krad Radio | |
Unequal parts, suit for taste | |
----------------------------- | |
Vodka | |
Champagne | |
Red Bullshit | |
Blood Orange Juice | |
Notes: |
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
a52dec | |
aalib | |
acl | |
alsa-lib | |
alsa-tools | |
alsa-utils | |
apr | |
apr-util | |
archlinux-keyring | |
ardour |
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
[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"}] |
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
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): |
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
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 |
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
Getting Source: | |
mkdir kode | |
cd kode | |
git clone https://github.com/krad-radio/krad_radio.git | |
cd krad_radio | |
Updating source: | |
git pull |
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
[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' |