detached 4c97002

video_gen.go RawHistoryFolder

1// Code generated by pipewiregen. DO NOT EDIT.
2
3package capi
4
5import "github.com/bnema/purego"
6
7import "unsafe"
8
9
10// pw_loop_newFunc is the function type for pw_loop_new.
11type pw_loop_newFunc func(props unsafe.Pointer) unsafe.Pointer
12
13// pw_loop_destroyFunc is the function type for pw_loop_destroy.
14type pw_loop_destroyFunc func(loop unsafe.Pointer)
15
16// pw_loop_get_fdFunc is the function type for pw_loop_get_fd.
17type pw_loop_get_fdFunc func(loop unsafe.Pointer) int32
18
19// pw_loop_enterFunc is the function type for pw_loop_enter.
20type pw_loop_enterFunc func(loop unsafe.Pointer)
21
22// pw_loop_leaveFunc is the function type for pw_loop_leave.
23type pw_loop_leaveFunc func(loop unsafe.Pointer)
24
25// pw_loop_iterateFunc is the function type for pw_loop_iterate.
26type pw_loop_iterateFunc func(loop unsafe.Pointer, timeout int32) int32
27
28// pw_context_newFunc is the function type for pw_context_new.
29type pw_context_newFunc func(loop unsafe.Pointer, props unsafe.Pointer, user_data_size uintptr) unsafe.Pointer
30
31// pw_context_connectFunc is the function type for pw_context_connect.
32type pw_context_connectFunc func(context unsafe.Pointer, props unsafe.Pointer, user_data_size uintptr) unsafe.Pointer
33
34// pw_context_destroyFunc is the function type for pw_context_destroy.
35type pw_context_destroyFunc func(context unsafe.Pointer)
36
37// pw_core_disconnectFunc is the function type for pw_core_disconnect.
38type pw_core_disconnectFunc func(core unsafe.Pointer) int32
39
40// pw_properties_new_stringFunc is the function type for pw_properties_new_string.
41type pw_properties_new_stringFunc func(args *byte) unsafe.Pointer
42
43// pw_stream_newFunc is the function type for pw_stream_new.
44type pw_stream_newFunc func(core unsafe.Pointer, name *byte, props unsafe.Pointer) unsafe.Pointer
45
46// pw_stream_update_paramsFunc is the function type for pw_stream_update_params.
47type pw_stream_update_paramsFunc func(stream unsafe.Pointer, params unsafe.Pointer, n_params uint32) int32
48
49// pw_stream_get_node_idFunc is the function type for pw_stream_get_node_id.
50type pw_stream_get_node_idFunc func(stream unsafe.Pointer) uint32
51
52// pw_stream_trigger_processFunc is the function type for pw_stream_trigger_process.
53type pw_stream_trigger_processFunc func(stream unsafe.Pointer) int32
54
55// pw_stream_is_drivingFunc is the function type for pw_stream_is_driving.
56type pw_stream_is_drivingFunc func(stream unsafe.Pointer) bool
57
58// pw_stream_return_bufferFunc is the function type for pw_stream_return_buffer.
59type pw_stream_return_bufferFunc func(stream unsafe.Pointer, buffer unsafe.Pointer) int32
60
61
62
63var (
64
65	pw_loop_new pw_loop_newFunc
66
67	pw_loop_destroy pw_loop_destroyFunc
68
69	pw_loop_get_fd pw_loop_get_fdFunc
70
71	pw_loop_enter pw_loop_enterFunc
72
73	pw_loop_leave pw_loop_leaveFunc
74
75	pw_loop_iterate pw_loop_iterateFunc
76
77	pw_context_new pw_context_newFunc
78
79	pw_context_connect pw_context_connectFunc
80
81	pw_context_destroy pw_context_destroyFunc
82
83	pw_core_disconnect pw_core_disconnectFunc
84
85	pw_properties_new_string pw_properties_new_stringFunc
86
87	pw_stream_new pw_stream_newFunc
88
89	pw_stream_update_params pw_stream_update_paramsFunc
90
91	pw_stream_get_node_id pw_stream_get_node_idFunc
92
93	pw_stream_trigger_process pw_stream_trigger_processFunc
94
95	pw_stream_is_driving pw_stream_is_drivingFunc
96
97	pw_stream_return_buffer pw_stream_return_bufferFunc
98
99)
100
101func registerVideo(handle uintptr) {
102
103	purego.RegisterLibFunc(&pw_loop_new, handle, "pw_loop_new")
104
105	purego.RegisterLibFunc(&pw_loop_destroy, handle, "pw_loop_destroy")
106
107	purego.RegisterLibFunc(&pw_loop_get_fd, handle, "pw_loop_get_fd")
108
109	purego.RegisterLibFunc(&pw_loop_enter, handle, "pw_loop_enter")
110
111	purego.RegisterLibFunc(&pw_loop_leave, handle, "pw_loop_leave")
112
113	purego.RegisterLibFunc(&pw_loop_iterate, handle, "pw_loop_iterate")
114
115	purego.RegisterLibFunc(&pw_context_new, handle, "pw_context_new")
116
117	purego.RegisterLibFunc(&pw_context_connect, handle, "pw_context_connect")
118
119	purego.RegisterLibFunc(&pw_context_destroy, handle, "pw_context_destroy")
120
121	purego.RegisterLibFunc(&pw_core_disconnect, handle, "pw_core_disconnect")
122
123	purego.RegisterLibFunc(&pw_properties_new_string, handle, "pw_properties_new_string")
124
125	purego.RegisterLibFunc(&pw_stream_new, handle, "pw_stream_new")
126
127	purego.RegisterLibFunc(&pw_stream_update_params, handle, "pw_stream_update_params")
128
129	purego.RegisterLibFunc(&pw_stream_get_node_id, handle, "pw_stream_get_node_id")
130
131	purego.RegisterLibFunc(&pw_stream_trigger_process, handle, "pw_stream_trigger_process")
132
133	purego.RegisterLibFunc(&pw_stream_is_driving, handle, "pw_stream_is_driving")
134
135	purego.RegisterLibFunc(&pw_stream_return_buffer, handle, "pw_stream_return_buffer")
136
137}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 8

↑↓ moveenter openesc close