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
[root@7fb2cef3e9df oneman]# cat /ebash: child setpgid (4280 to 1): No such process | |
bash: child setpgid (4281 to 1): No such process | |
tc/pasbash: child setpgid (4282 to 1): No such process | |
bash: child setpgid (4283 to 1): No such process | |
swd | |
bash: child setpgid (4284 to 4284): No such process | |
root:x:0:0:root:/root:/bin/bash | |
bin:x:1:1:bin:/bin:/bin/false | |
daemon:x:2:2:daemon:/sbin:/bin/false | |
mail:x:8:12:mail:/var/spool/mail:/bin/false |
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
int kr_compositor_path_info_to_ebml(char *ebml, void *st, int32_t max) { | |
int res; | |
res = 0; | |
uber_St uber; | |
struct kr_compositor_path_info *actual; | |
if ((ebml == NULL) || (st == NULL) || (max < 1)) { | |
return -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
struct kr_mixer_path_info { | |
char name[64]; | |
char bus[64]; | |
char crossfade_group[64]; | |
kr_mixer_channels channels; | |
kr_mixer_path_type type; | |
float fade; | |
float volume[KR_MXR_MAX_CHANNELS]; | |
int map[KR_MXR_MAX_CHANNELS]; | |
int mixmap[KR_MXR_MAX_CHANNELS]; |
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
common: | |
common_gen.h (this is common and included by any generated file, where should it go???) | |
type_common: | |
json_common.c (this is common and compiled with all the to_json_gen files) | |
ebml_common.c (this is common and compiled with all the to_ebml_gen files) | |
debml_common.c (this is common and compiled with all the fr_ebml_gen files) | |
... and so on |
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
to_ebml_common.c: | |
#include "common_gen.h" | |
#include "krad_ebml/krad_ebml.h" | |
#include "krad_mixer_to_ebml.h" | |
int info_pack_to_ebml(kr_ebml *ebml, uber_St *uber); | |
typedef int (*info_pack_to_ebml_func)(kr_ebml *ebml, void *st, int max); | |
int info_pack_to_ebml(kr_ebml *ebml, uber_St *uber) { | |
const info_pack_to_ebml_func to_ebml_functions[6] = { kr_mixer_channels_to_ebml, |
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
19:43:44.599 "Recved: [{"com":"kradradio","info":"sysname","infoval":"booya"}]" | |
19:43:44.703 "Recved: {"period_size" : 256,"sample_rate" : 44100,"inputs" : 0,"buses" : 1,"outputs" : 0,"frames" : 0,"timecode" : 0,"clock" : "Something"}" | |
19:43:44.703 "Recved: {"debug" : "Ok", "res" : 132}" | |
19:43:44.704 "Recved: {"name" : "Master","bus" : "","crossfade_group" : "","channels": "2","type": "0","fade" : 0.00,"volume" : [75.00,75.00,0.00,0.00,0.00,0.00,0.00,0.00],"map" : [0,0,0,0,0,0,0,0],"mixmap" : [0,0,0,0,0,0,0,0],"rms" : [0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],"peak" : [0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],"delay" : 0,"lowpass": {"bw" : 0.00,"hz" : 0.00},"highpass": {"bw" : 0.00,"hz" : 0.00},"analog": {"drive" : 0.00,"blend" : 0.00},"eq": {"band": {"db" : 0.00,"bw" : 12000.00,"hz" : 1.00}}}" krad.js:95 | |
19:43:44.704 "Recved: {"debug" : "Ok", "res" : 493}" |
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
[ | |
{ | |
"com": "kradmixer", | |
"ctrl": "set_mixer_params", | |
"content": { | |
"period_size": 256, | |
"sample_rate": 44100, | |
"inputs": 0, | |
"buses": 1, | |
"outputs": 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
[ | |
{ | |
"com": "kradmixer", | |
"ctrl": "set_mixer_params", | |
"content": { | |
"name": "Master", | |
"bus": "", | |
"crossfade_group": "", | |
"channels": "2", | |
"type": "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
[ | |
{ | |
"com": "kradmixer", | |
"ctrl": "set_mixer_params", | |
"content": { | |
"period_size": 256, | |
"sample_rate": 44100, | |
"inputs": 0, | |
"buses": 1, | |
"outputs": 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
struct kr_address_St { | |
kr_unit_path_t path; | |
kr_unit_control_name_t control; | |
kr_unit_id_t id; | |
uint32_t sub_id; | |
uint32_t sub_id2; | |
}; |