This file contains 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
+------+ +------+ | |
| INP1 | | INP2 | | |
+---+--+ +---+--+ | |
| | | |
| | | |
| | | |
| | | |
+---->------+<---+ |
This file contains 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
[streamer45@archlinux tests]$ ./kr_graph_test 64 512 | |
graph created successfully! | |
Generated 64 random vertices | |
timer: 0ms | |
Cycle detected! | |
Cycle detected! | |
Cycle detected! | |
Cycle detected! |
This file contains 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
[streamer45@archlinux tests]$ ./kr_graph_test | |
graph created successfully! | |
graph info: | |
your graph is empty... | |
creating some vertices in our graph... | |
graph info: | |
vertex 0x2020010 of type INPUT | |
vertex 0x2020014 of type INPUT | |
vertex 0x2020018 of type BUS | |
vertex 0x202001c of type BUS |
This file contains 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
[streamer45@archlinux krad_graph]$ ./krad_graph_test | |
graph created successfully! |
This file contains 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/gen/dejson_common.c b/lib/gen/dejson_common.c | |
index cad2b7c..2dec5b6 100644 | |
--- a/lib/gen/dejson_common.c | |
+++ b/lib/gen/dejson_common.c | |
@@ -1,7 +1,8 @@ | |
#include "gen.h" | |
int info_unpack_fr_json(char *json, uber_St *uber) { | |
- const info_unpack_fr_json_func fr_json_functions[64] = {kr_alsa_info_fr_json, | |
- kr_alsa_path_info_fr_json,kr_easing_fr_json, | |
+ const info_unpack_fr_json_func fr_json_functions[69] = {kr_alsa_info_fr_json, |
This file contains 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/krad_app/krad_router.c b/lib/krad_app/krad_router.c | |
index 6eb383a..db6cc44 100644 | |
--- a/lib/krad_app/krad_router.c | |
+++ b/lib/krad_app/krad_router.c | |
@@ -196,6 +196,8 @@ kr_route *kr_route_create(kr_router *router, kr_route_setup *setup) { | |
route->map = map; | |
strncpy(route->name, setup->name->name, sizeof(route->name)); | |
setup->name->use++; | |
+ route->payload_type = setup->payload_type; | |
+ memcpy(&route->payload,&setup->payload,sizeof(kr_radio_payload)); |
This file contains 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/krad_compositor/krad_compositor.h b/lib/krad_compositor/krad_compositor.h | |
index 94f6822..fabec11 100644 | |
--- a/lib/krad_compositor/krad_compositor.h | |
+++ b/lib/krad_compositor/krad_compositor.h | |
@@ -69,12 +69,21 @@ struct kr_compositor { | |
FT_Library ftlib; | |
}; | |
+typedef enum { | |
+ KR_COMP_GET = 1, |
This file contains 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
[streamer45@archlinux kr_oneman]$ git diff lib/krad_app/krad_app_common.h lib/krad_radio/krad_radio_payload.h | |
diff --git a/lib/krad_app/krad_app_common.h b/lib/krad_app/krad_app_common.h | |
index d43e8fc..6f17a40 100644 | |
--- a/lib/krad_app/krad_app_common.h | |
+++ b/lib/krad_app/krad_app_common.h | |
@@ -15,16 +15,6 @@ | |
/* here is were we link our payload */ | |
#include "krad_radio_payload.h" | |
-typedef enum { |
This file contains 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
{ | |
"name": "", | |
"dir": 1, | |
"api": 1, | |
"info": { | |
"display_name": "", | |
"state": 0, | |
"width": 0, | |
"height": 0, | |
"fullscreen": 0 |
This file contains 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
{ | |
"ctrl": "add_adapter", | |
"content": { | |
"name": "my_jack_adapter", | |
"dir": 1, | |
"api": 0, | |
"info": { | |
"name": "my_jack_input", | |
"channels": 2, | |
"direction": 1 |