Skip to content

Instantly share code, notes, and snippets.

View streamer45's full-sized avatar
🏠
Working from home

Claudio Costa streamer45

🏠
Working from home
View GitHub Profile
{
"name": "my_jack_adapter",
"dir": 1,
"api": 0,
"info": {
"name": "my_jack_input",
"channels": 2,
"direction": 0
}
}
typedef my_st my_struct;
typedef struct myst2 my_st2;
typedef struct {...} my_st;
struct myst2 {
...
}
-------------------------------
[streamer45@archlinux kr_oneman]$ tests/kr_alsa_test 1
Logging to: /home/streamer45/kr_tests/kr_alsa_test_1388409231.log
kr_alsa_create card num 1
kr_alsa_destroy ret: 0
ALSA Card 1 worked
Debug log: /home/streamer45/kr_tests/kr_alsa_test_1388409231.log
Log 0 started
Krad ALSA: Created HDA Intel MID
[streamer45@archlinux kr_oneman]$ tests/kr_alsa_test
Logging to: /home/streamer45/kr_tests/kr_alsa_test_1388408620.log
kr_alsa_create card num 0
kr_alsa_destroy ret: 0
ALSA Card 0 worked
Debug log: /home/streamer45/kr_tests/kr_alsa_test_1388408620.log
Log 0 started
Krad ALSA: Created HDA Intel PCH
[streamer45@archlinux gather_structs]$ time ./gather_tool ../../../../../kr/lib/ "" "_info" names
kr_sprite_info
kr_text_info
kr_vector_info
kr_compositor_path_info
kr_compositor_info
kr_decklink_info
kr_decklink_path_info
kr_jack_setup_info
kr_jack_info
[streamer45@archlinux gather_structs]$ time ./gather_tool ../../../../lib/ "" "_info" names
kr_sprite_info
kr_text_info
kr_vector_info
kr_compositor_path_info
kr_compositor_info
kr_decklink_info
kr_decklink_path_info
kr_jack_setup_info
kr_jack_info
[streamer45@archlinux kr_oneman]$ ./tests/kr_adpmon_test 7
Got ALSA device
syspath: /sys/devices/pci0000:00/0000:00:03.0/sound/card1
sysname: card1
sysnum: 1
Node: (null)
Subsystem: sound
Action: (null)
vendor: 0x8086
device: 0x0a0c
[streamer45@archlinux kr_oneman]$ ./tests/kr_adpmon_test 7
Got ALSA device
syspath: /sys/devices/pci0000:00/0000:00:03.0/sound/card1
sysname: card1
sysnum: 1
Node: (null)
Subsystem: sound
Action: (null)
vendor: 0x8086
device: 0x0a0c
==10978== Conditional jump or move depends on uninitialised value(s)
==10978== at 0xA0EFD97: vfprintf (in /usr/lib/libc-2.18.so)
==10978== by 0xA11AFF8: vsnprintf (in /usr/lib/libc-2.18.so)
==10978== by 0xA0F9791: snprintf (in /usr/lib/libc-2.18.so)
==10978== by 0x50B2279: kr_v4l2_open (krad_v4l2.c:257)
==10978== by 0x50B27E3: kr_v4l2_create (krad_v4l2.c:309)
==10978== by 0x508DE4C: v4l2_adapter_create (v4l2.c:73)
==10978== by 0x508E284: kr_adapter_create (krad_adapter.c:265)
==10978== by 0x50A5EA3: path_io_create (krad_transponder.c:96)
==10978== by 0x50A61A0: kr_transponder_mkpath (krad_transponder.c:234)
Input is:
{
"name": "Master",
"bus": "",
"crossfade_group": "",
"channels": 2,
"type": 32719,
"fade": 0,
"volume": [