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
08:08:34.801 JACK is starting...
08:08:34.801 /usr/bin/jackd -dalsa -dhw:0,0 -r48000 -p1024 -n2
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
08:08:34.834 JACK was started with PID=901.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.9.5
[streamer45@archlinux ~]$ cat /proc/asound/card0/codec#0
Codec: Cirrus Logic ID 4208
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10134208
Subsystem Id: 0x106b5d00
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
rates [0x0]:
[streamer45@archlinux ~]$ cat /proc/asound/pcm
00-00: ID 4208 Analog : ID 4208 Analog : playback 1 : capture 1
00-01: ID 4208 Digital : ID 4208 Digital : playback 1
01-03: HDMI 0 : HDMI 0 : playback 1
01-07: HDMI 1 : HDMI 1 : playback 1
01-08: HDMI 2 : HDMI 2 : playback 1
[streamer45@archlinux ~]$ /usr/bin/jackd -dalsa -dhw:0,0 -P2 -C0
jackdmp 1.9.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
before starting player
[streamer45@archlinux ~]$ sudo cat /proc/asound/card0/pcm0p/sub0/hw_params
closed
[streamer45@archlinux ~]$ cat /proc/asound/card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
[streamer45@archlinux ~]$ sudo cat /proc/asound/card0/pcm0p/sub0/sw_params
tstamp_mode: ENABLE
period_step: 1
avail_min: 1024
start_threshold: 1
stop_threshold: 4611686018427387904
silence_threshold: 0
silence_size: 4611686018427387904
boundary: 4611686018427387904
[streamer45@archlinux ~]$ sudo cat /proc/asound/card0/pcm0p/sub0/status
[streamer45@archlinux gen]$ ./main_test
serializing kr_sprite_info to json...
{"filename" : "/path/to/sprite.png","rate" : 0,"controls": {"x" : 0,"y" : 0,"z" : 0,"w" : 0,"h" : 0,"rotation" : 0.00,"opacity" : 0.00}}
serializing kr_perspective_view to json...
{"top_left": {"x" : 0,"y" : 0},"top_right": {"x" : 0,"y" : 0},"bottom_left": {"x" : 0,"y" : 0},"bottom_right": {"x" : 0,"y" : 0}}
serializing kr_compositor_path_info to json...
{"name" : "","width" : 0,"height" : 0,"crop_x" : 0,"crop_y" : 0,"crop_width" : 0,"crop_height" : 0,"view": {"top_left": {"x" : 0,"y" : 0},"top_right": {"x" : 0,"y" : 0},"bottom_left": {"x" : 0,"y" : 0},"bottom_right": {"x" : 0,"y" : 0}},"controls": {"x" : 0,"y" : 0,"z" : 0,"w" : 0,"h" : 0,"rotation" : 0.00,"opacity" : 0.00}}
[streamer45@archlinux sizeof_util]$ ./sizeof_util ../../../../lib/krad_compositor/ "" "_info"
[streamer45@archlinux sizeof_util]$ gcc output.c -g -o output -I/usr/include/opus \
> -I/usr/include/freetype2 \
> -I/usr/include/cairo \
> -I../../../../lib/krad_muxponder \
> -I../../../../lib/krad_compositor \
> -I../../../../lib/krad_osc \
> -I../../../../lib/krad_v4l2 \
> -I../../../../lib/krad_flac \
> -I../../../../lib/krad_jack \
[streamer45@archlinux kr_oneman]$ sudo docker -d
[/var/lib/docker|55cbcf12] +job initapi()
[/var/lib/docker|55cbcf12.initapi()] Creating server
Loading containers: done.
2013/11/29 18:30:32 WARNING: Your kernel does not support cgroup swap limit.
2013/11/29 18:30:32 WARNING: IPv4 forwarding is disabled.
[/var/lib/docker|55cbcf12.initapi()] Creating pidfile
[/var/lib/docker|55cbcf12.initapi()] Setting up signal traps
[/var/lib/docker|55cbcf12] Register(create) (handlers=map[initapi:0x49ceb0])
[/var/lib/docker|55cbcf12] Register(start) (handlers=map[initapi:0x49ceb0 create:0x4bbb90])
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6d4ec39b8784 oneman/kradradio_test:latest /home/oneman/krad_st About a minute ago Exit 1 kradtest