@girs/gstinterfaces-0.10 0.10.0-3.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/gstinterfaces-0.10.cjs +9 -0
- package/gstinterfaces-0.10.d.cts +1853 -0
- package/gstinterfaces-0.10.d.ts +1858 -0
- package/gstinterfaces-0.10.js +8 -0
- package/package.json +56 -0
- package/tsconfig.doc.json +19 -0
|
@@ -0,0 +1,1853 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
|
+
*
|
|
5
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* GstInterfaces-0.10
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type libxml2 from '@girs/libxml2-2.0';
|
|
13
|
+
import type Gst from '@girs/gst-0.10';
|
|
14
|
+
import type GObject from '@girs/gobject-2.0';
|
|
15
|
+
import type GLib from '@girs/glib-2.0';
|
|
16
|
+
import type GModule from '@girs/gmodule-2.0';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* An enumeration indicating whether an element implements color balancing
|
|
20
|
+
* operations in software or in dedicated hardware. In general, dedicated
|
|
21
|
+
* hardware implementations (such as those provided by xvimagesink) are
|
|
22
|
+
* preferred.
|
|
23
|
+
*/
|
|
24
|
+
export enum ColorBalanceType {
|
|
25
|
+
HARDWARE,
|
|
26
|
+
SOFTWARE,
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* An enumeration for the type of a GstMixer message received on the bus
|
|
30
|
+
*/
|
|
31
|
+
export enum MixerMessageType {
|
|
32
|
+
INVALID,
|
|
33
|
+
MUTE_TOGGLED,
|
|
34
|
+
RECORD_TOGGLED,
|
|
35
|
+
VOLUME_CHANGED,
|
|
36
|
+
OPTION_CHANGED,
|
|
37
|
+
OPTIONS_LIST_CHANGED,
|
|
38
|
+
MIXER_CHANGED,
|
|
39
|
+
}
|
|
40
|
+
export enum MixerType {
|
|
41
|
+
HARDWARE,
|
|
42
|
+
SOFTWARE,
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A set of commands that may be issued to an element providing the
|
|
46
|
+
* #GstNavigation interface. The available commands can be queried via
|
|
47
|
+
* the gst_navigation_query_new_commands() query.
|
|
48
|
+
* For convenience in handling DVD navigation, the MENU commands are aliased as:
|
|
49
|
+
* GST_NAVIGATION_COMMAND_DVD_MENU = `GST_NAVIGATION_COMMAND_MENU1`
|
|
50
|
+
* GST_NAVIGATION_COMMAND_DVD_TITLE_MENU = `GST_NAVIGATION_COMMAND_MENU2`
|
|
51
|
+
* GST_NAVIGATION_COMMAND_DVD_ROOT_MENU = `GST_NAVIGATION_COMMAND_MENU3`
|
|
52
|
+
* GST_NAVIGATION_COMMAND_DVD_SUBPICTURE_MENU = `GST_NAVIGATION_COMMAND_MENU4`
|
|
53
|
+
* GST_NAVIGATION_COMMAND_DVD_AUDIO_MENU = `GST_NAVIGATION_COMMAND_MENU5`
|
|
54
|
+
* GST_NAVIGATION_COMMAND_DVD_ANGLE_MENU = `GST_NAVIGATION_COMMAND_MENU6`
|
|
55
|
+
* GST_NAVIGATION_COMMAND_DVD_CHAPTER_MENU = `GST_NAVIGATION_COMMAND_MENU7`
|
|
56
|
+
*/
|
|
57
|
+
export enum NavigationCommand {
|
|
58
|
+
INVALID,
|
|
59
|
+
MENU1,
|
|
60
|
+
MENU2,
|
|
61
|
+
MENU3,
|
|
62
|
+
MENU4,
|
|
63
|
+
MENU5,
|
|
64
|
+
MENU6,
|
|
65
|
+
MENU7,
|
|
66
|
+
LEFT,
|
|
67
|
+
RIGHT,
|
|
68
|
+
UP,
|
|
69
|
+
DOWN,
|
|
70
|
+
ACTIVATE,
|
|
71
|
+
PREV_ANGLE,
|
|
72
|
+
NEXT_ANGLE,
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Enum values for the various events that an element implementing the
|
|
76
|
+
* GstNavigation interface might send up the pipeline.
|
|
77
|
+
*/
|
|
78
|
+
export enum NavigationEventType {
|
|
79
|
+
INVALID,
|
|
80
|
+
KEY_PRESS,
|
|
81
|
+
KEY_RELEASE,
|
|
82
|
+
MOUSE_BUTTON_PRESS,
|
|
83
|
+
MOUSE_BUTTON_RELEASE,
|
|
84
|
+
MOUSE_MOVE,
|
|
85
|
+
COMMAND,
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* A set of notifications that may be received on the bus when navigation
|
|
89
|
+
* related status changes.
|
|
90
|
+
*/
|
|
91
|
+
export enum NavigationMessageType {
|
|
92
|
+
INVALID,
|
|
93
|
+
MOUSE_OVER,
|
|
94
|
+
COMMANDS_CHANGED,
|
|
95
|
+
ANGLES_CHANGED,
|
|
96
|
+
}
|
|
97
|
+
export enum NavigationQueryType {
|
|
98
|
+
INVALID,
|
|
99
|
+
COMMANDS,
|
|
100
|
+
ANGLES,
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Different representations of a stream volume. gst_stream_volume_convert()
|
|
104
|
+
* allows to convert between the different representations.
|
|
105
|
+
* Formulas to convert from a linear to a cubic or dB volume are
|
|
106
|
+
* cbrt(val) and 20 * log10 (val).
|
|
107
|
+
*/
|
|
108
|
+
export enum StreamVolumeFormat {
|
|
109
|
+
LINEAR,
|
|
110
|
+
CUBIC,
|
|
111
|
+
DB,
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Flags indicating which optional features are supported by a mixer
|
|
115
|
+
* implementation.
|
|
116
|
+
* @bitfield
|
|
117
|
+
*/
|
|
118
|
+
export enum MixerFlags {
|
|
119
|
+
NONE,
|
|
120
|
+
AUTO_NOTIFICATIONS,
|
|
121
|
+
HAS_WHITELIST,
|
|
122
|
+
GROUPING,
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Mixer track flags.
|
|
126
|
+
* @bitfield
|
|
127
|
+
*/
|
|
128
|
+
export enum MixerTrackFlags {
|
|
129
|
+
INPUT,
|
|
130
|
+
OUTPUT,
|
|
131
|
+
MUTE,
|
|
132
|
+
RECORD,
|
|
133
|
+
MASTER,
|
|
134
|
+
SOFTWARE,
|
|
135
|
+
NO_RECORD,
|
|
136
|
+
NO_MUTE,
|
|
137
|
+
WHITELIST,
|
|
138
|
+
READONLY,
|
|
139
|
+
WRITEONLY,
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* An enumeration for flags indicating the available capabilities
|
|
143
|
+
* of a #GstTunerChannel.
|
|
144
|
+
* @bitfield
|
|
145
|
+
*/
|
|
146
|
+
export enum TunerChannelFlags {
|
|
147
|
+
INPUT,
|
|
148
|
+
OUTPUT,
|
|
149
|
+
FREQUENCY,
|
|
150
|
+
AUDIO,
|
|
151
|
+
}
|
|
152
|
+
export function interfaces_marshal_VOID__OBJECT_BOOLEAN(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any, marshal_data: any): void
|
|
153
|
+
export function interfaces_marshal_VOID__OBJECT_INT(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any, marshal_data: any): void
|
|
154
|
+
export function interfaces_marshal_VOID__OBJECT_POINTER(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any, marshal_data: any): void
|
|
155
|
+
export function interfaces_marshal_VOID__OBJECT_STRING(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any, marshal_data: any): void
|
|
156
|
+
export function interfaces_marshal_VOID__OBJECT_ULONG(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any, marshal_data: any): void
|
|
157
|
+
/**
|
|
158
|
+
* Check a bus message to see if it is a GstMixer notification
|
|
159
|
+
* message and return the GstMixerMessageType identifying which
|
|
160
|
+
* type of notification it is.
|
|
161
|
+
* if the message is not a GstMixer notification.
|
|
162
|
+
* @param message A GstMessage to inspect.
|
|
163
|
+
* @returns The type of the GstMixerMessage, or GST_MIXER_MESSAGE_INVALID
|
|
164
|
+
*/
|
|
165
|
+
export function mixer_message_get_type(message: Gst.Message): MixerMessageType
|
|
166
|
+
/**
|
|
167
|
+
* Extracts the contents of a mute-toggled bus message. Reads
|
|
168
|
+
* the GstMixerTrack that has changed, and the new value of the mute
|
|
169
|
+
* flag.
|
|
170
|
+
* The GstMixerTrack remains valid until the message is freed.
|
|
171
|
+
* @param message A mute-toggled change notification message.
|
|
172
|
+
* @param track Pointer to hold a GstMixerTrack object, or NULL.
|
|
173
|
+
* @param mute A pointer to a gboolean variable, or NULL.
|
|
174
|
+
*/
|
|
175
|
+
export function mixer_message_parse_mute_toggled(message: Gst.Message, track: MixerTrack, mute: boolean): void
|
|
176
|
+
/**
|
|
177
|
+
* Extracts the GstMixerOptions and new value from a option-changed bus notification
|
|
178
|
+
* message.
|
|
179
|
+
* The options and value returned remain valid until the message is freed.
|
|
180
|
+
* @param message A volume-changed change notification message.
|
|
181
|
+
* @param options Pointer to hold a GstMixerOptions object, or NULL.
|
|
182
|
+
* @param value Result location to receive the new options value, or NULL.
|
|
183
|
+
*/
|
|
184
|
+
export function mixer_message_parse_option_changed(message: Gst.Message, options: MixerOptions, value: string | null): void
|
|
185
|
+
/**
|
|
186
|
+
* Extracts the GstMixerOptions whose value list has changed from an
|
|
187
|
+
* options-list-changed bus notification message.
|
|
188
|
+
* The options object returned remains valid until the message is freed. You
|
|
189
|
+
* do not need to unref it.
|
|
190
|
+
* @param message A volume-changed change notification message.
|
|
191
|
+
* @param options Pointer to hold a GstMixerOptions object, or NULL.
|
|
192
|
+
*/
|
|
193
|
+
export function mixer_message_parse_options_list_changed(message: Gst.Message, options: MixerOptions): void
|
|
194
|
+
/**
|
|
195
|
+
* Extracts the contents of a record-toggled bus message. Reads
|
|
196
|
+
* the GstMixerTrack that has changed, and the new value of the
|
|
197
|
+
* recording flag.
|
|
198
|
+
* The GstMixerTrack remains valid until the message is freed.
|
|
199
|
+
* @param message A record-toggled change notification message.
|
|
200
|
+
* @param track Pointer to hold a GstMixerTrack object, or NULL.
|
|
201
|
+
* @param record A pointer to a gboolean variable, or NULL.
|
|
202
|
+
*/
|
|
203
|
+
export function mixer_message_parse_record_toggled(message: Gst.Message, track: MixerTrack, record: boolean): void
|
|
204
|
+
/**
|
|
205
|
+
* Parses a volume-changed notification message and extracts the track object
|
|
206
|
+
* it refers to, as well as an array of volumes and the size of the volumes array.
|
|
207
|
+
* The track object remains valid until the message is freed.
|
|
208
|
+
* The caller must free the array returned in the volumes parameter using g_free
|
|
209
|
+
* when they are done with it.
|
|
210
|
+
* @param message A volume-changed change notification message.
|
|
211
|
+
* @param track Pointer to hold a GstMixerTrack object, or NULL.
|
|
212
|
+
* @param volumes A pointer to receive an array of gint values, or NULL.
|
|
213
|
+
* @param num_channels Result location to receive the number of channels, or NULL.
|
|
214
|
+
*/
|
|
215
|
+
export function mixer_message_parse_volume_changed(message: Gst.Message, track: MixerTrack, volumes: number, num_channels: number): void
|
|
216
|
+
/**
|
|
217
|
+
* Inspect a #GstEvent and return the #GstNavigationEventType of the event, or
|
|
218
|
+
* #GST_NAVIGATION_EVENT_INVALID if the event is not a #GstNavigation event.
|
|
219
|
+
* @param event A #GstEvent to inspect.
|
|
220
|
+
*/
|
|
221
|
+
export function navigation_event_get_type(event: Gst.Event): NavigationEventType
|
|
222
|
+
/**
|
|
223
|
+
* Inspect a #GstNavigation command event and retrieve the enum value of the
|
|
224
|
+
* associated command.
|
|
225
|
+
* @param event A #GstEvent to inspect.
|
|
226
|
+
* @param command Pointer to GstNavigationCommand to receive the type of the navigation event.
|
|
227
|
+
* @returns TRUE if the navigation command could be extracted, otherwise FALSE.
|
|
228
|
+
*/
|
|
229
|
+
export function navigation_event_parse_command(event: Gst.Event, command: NavigationCommand): boolean
|
|
230
|
+
export function navigation_event_parse_key_event(event: Gst.Event, key: string | null): boolean
|
|
231
|
+
/**
|
|
232
|
+
* Retrieve the details of either a #GstNavigation mouse button press event or
|
|
233
|
+
* a mouse button release event. Determine which type the event is using
|
|
234
|
+
* gst_navigation_event_get_type() to retrieve the #GstNavigationEventType.
|
|
235
|
+
* otherwise FALSE.
|
|
236
|
+
* @param event A #GstEvent to inspect.
|
|
237
|
+
* @param button Pointer to a gint that will receive the button number associated with the event.
|
|
238
|
+
* @param x Pointer to a gdouble to receive the x coordinate of the mouse button event.
|
|
239
|
+
* @param y Pointer to a gdouble to receive the y coordinate of the mouse button event.
|
|
240
|
+
* @returns TRUE if the button number and both coordinates could be extracted,
|
|
241
|
+
*/
|
|
242
|
+
export function navigation_event_parse_mouse_button_event(event: Gst.Event, button: number, x: number, y: number): boolean
|
|
243
|
+
/**
|
|
244
|
+
* Inspect a #GstNavigation mouse movement event and extract the coordinates
|
|
245
|
+
* of the event.
|
|
246
|
+
* @param event A #GstEvent to inspect.
|
|
247
|
+
* @param x Pointer to a gdouble to receive the x coordinate of the mouse movement.
|
|
248
|
+
* @param y Pointer to a gdouble to receive the y coordinate of the mouse movement.
|
|
249
|
+
* @returns TRUE if both coordinates could be extracted, otherwise FALSE.
|
|
250
|
+
*/
|
|
251
|
+
export function navigation_event_parse_mouse_move_event(event: Gst.Event, x: number, y: number): boolean
|
|
252
|
+
/**
|
|
253
|
+
* Check a bus message to see if it is a #GstNavigation event, and return
|
|
254
|
+
* the #GstNavigationMessageType identifying the type of the message if so.
|
|
255
|
+
* #GST_NAVIGATION_MESSAGE_INVALID if the message is not a #GstNavigation
|
|
256
|
+
* notification.
|
|
257
|
+
* @param message A #GstMessage to inspect.
|
|
258
|
+
* @returns The type of the #GstNavigationMessage, or
|
|
259
|
+
*/
|
|
260
|
+
export function navigation_message_get_type(message: Gst.Message): NavigationMessageType
|
|
261
|
+
/**
|
|
262
|
+
* Parse a #GstNavigation message of type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED
|
|
263
|
+
* and extract the `cur_angle` and `n_angles` parameters.
|
|
264
|
+
* @param message A #GstMessage to inspect.
|
|
265
|
+
* @param cur_angle A pointer to a #guint to receive the new current angle number, or NULL
|
|
266
|
+
* @param n_angles A pointer to a #guint to receive the new angle count, or NULL.
|
|
267
|
+
* @returns %TRUE if the message could be successfully parsed. %FALSE if not.
|
|
268
|
+
*/
|
|
269
|
+
export function navigation_message_parse_angles_changed(message: Gst.Message, cur_angle: number, n_angles: number): boolean
|
|
270
|
+
/**
|
|
271
|
+
* Parse a #GstNavigation message of type #GST_NAVIGATION_MESSAGE_MOUSE_OVER
|
|
272
|
+
* and extract the active/inactive flag. If the mouse over event is marked
|
|
273
|
+
* active, it indicates that the mouse is over a clickable area.
|
|
274
|
+
* @param message A #GstMessage to inspect.
|
|
275
|
+
* @param active A pointer to a gboolean to receive the active/inactive state, or NULL.
|
|
276
|
+
* @returns %TRUE if the message could be successfully parsed. %FALSE if not.
|
|
277
|
+
*/
|
|
278
|
+
export function navigation_message_parse_mouse_over(message: Gst.Message, active: boolean): boolean
|
|
279
|
+
/**
|
|
280
|
+
* Inspect a #GstQuery and return the #GstNavigationQueryType associated with
|
|
281
|
+
* it if it is a #GstNavigation query.
|
|
282
|
+
* #GST_NAVIGATION_QUERY_INVALID
|
|
283
|
+
* @param query The query to inspect
|
|
284
|
+
* @returns The #GstNavigationQueryType of the query, or
|
|
285
|
+
*/
|
|
286
|
+
export function navigation_query_get_type(query: Gst.Query): NavigationQueryType
|
|
287
|
+
/**
|
|
288
|
+
* Parse the current angle number in the #GstNavigation angles `query` into the
|
|
289
|
+
* #guint pointed to by the `cur_angle` variable, and the number of available
|
|
290
|
+
* angles into the #guint pointed to by the `n_angles` variable.
|
|
291
|
+
* @param query a #GstQuery
|
|
292
|
+
* @param cur_angle Pointer to a #guint into which to store the currently selected angle value from the query, or NULL
|
|
293
|
+
* @param n_angles Pointer to a #guint into which to store the number of angles value from the query, or NULL
|
|
294
|
+
* @returns %TRUE if the query could be successfully parsed. %FALSE if not.
|
|
295
|
+
*/
|
|
296
|
+
export function navigation_query_parse_angles(query: Gst.Query, cur_angle: number, n_angles: number): boolean
|
|
297
|
+
/**
|
|
298
|
+
* Parse the number of commands in the #GstNavigation commands `query`.
|
|
299
|
+
* @param query a #GstQuery
|
|
300
|
+
* @param n_cmds the number of commands in this query.
|
|
301
|
+
* @returns %TRUE if the query could be successfully parsed. %FALSE if not.
|
|
302
|
+
*/
|
|
303
|
+
export function navigation_query_parse_commands_length(query: Gst.Query, n_cmds: number): boolean
|
|
304
|
+
/**
|
|
305
|
+
* Parse the #GstNavigation command query and retrieve the `nth` command from
|
|
306
|
+
* it into `cmd`. If the list contains less elements than `nth,` `cmd` will be
|
|
307
|
+
* set to #GST_NAVIGATION_COMMAND_INVALID.
|
|
308
|
+
* @param query a #GstQuery
|
|
309
|
+
* @param nth the nth command to retrieve.
|
|
310
|
+
* @param cmd a pointer to store the nth command into.
|
|
311
|
+
* @returns %TRUE if the query could be successfully parsed. %FALSE if not.
|
|
312
|
+
*/
|
|
313
|
+
export function navigation_query_parse_commands_nth(query: Gst.Query, nth: number, cmd: NavigationCommand): boolean
|
|
314
|
+
/**
|
|
315
|
+
* Set the #GstNavigation angles query result field in `query`.
|
|
316
|
+
* @param query a #GstQuery
|
|
317
|
+
* @param cur_angle the current viewing angle to set.
|
|
318
|
+
* @param n_angles the number of viewing angles to set.
|
|
319
|
+
*/
|
|
320
|
+
export function navigation_query_set_angles(query: Gst.Query, cur_angle: number, n_angles: number): void
|
|
321
|
+
/**
|
|
322
|
+
* Set the #GstNavigation command query result fields in `query`. The number
|
|
323
|
+
* of commands passed must be equal to `n_commands`.
|
|
324
|
+
* @param query a #GstQuery
|
|
325
|
+
* @param n_cmds the number of commands to set.
|
|
326
|
+
* @param cmds An array containing `n_cmds` `GstNavigationCommand` values.
|
|
327
|
+
*/
|
|
328
|
+
export function navigation_query_set_commandsv(query: Gst.Query, n_cmds: number, cmds: NavigationCommand): void
|
|
329
|
+
export function stream_volume_convert_volume(from: StreamVolumeFormat, to: StreamVolumeFormat, val: number): number
|
|
330
|
+
export module ColorBalance {
|
|
331
|
+
|
|
332
|
+
// Signal callback interfaces
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Signal callback interface for `value-changed`
|
|
336
|
+
*/
|
|
337
|
+
export interface ValueChangedSignalCallback {
|
|
338
|
+
($obj: ColorBalance, object: ColorBalanceChannel, p0: number): void
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
// Constructor properties interface
|
|
343
|
+
|
|
344
|
+
export interface ConstructorProperties extends Gst.Element.ConstructorProperties, Gst.ImplementsInterface.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface ColorBalance extends Gst.Element, Gst.ImplementsInterface {
|
|
350
|
+
|
|
351
|
+
// Conflicting properties
|
|
352
|
+
|
|
353
|
+
object: any
|
|
354
|
+
|
|
355
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.ColorBalance
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Get the #GstColorBalanceType of this implementation.
|
|
359
|
+
* @returns A the #GstColorBalanceType.
|
|
360
|
+
*/
|
|
361
|
+
get_balance_type(): ColorBalanceType
|
|
362
|
+
/**
|
|
363
|
+
* Retrieve the current value of the indicated channel, between min_value
|
|
364
|
+
* and max_value.
|
|
365
|
+
* #GstColorBalanceChannel::max_value members of the
|
|
366
|
+
* #GstColorBalanceChannel object.
|
|
367
|
+
* @param channel A #GstColorBalanceChannel instance
|
|
368
|
+
* @returns The current value of the channel.
|
|
369
|
+
*/
|
|
370
|
+
get_value(channel: ColorBalanceChannel): number
|
|
371
|
+
/**
|
|
372
|
+
* Retrieve a list of the available channels.
|
|
373
|
+
* The list is owned by the #GstColorBalance instance and must not
|
|
374
|
+
* be freed.
|
|
375
|
+
* @returns A GList containing pointers to #GstColorBalanceChannel objects.
|
|
376
|
+
*/
|
|
377
|
+
list_channels(): any[]
|
|
378
|
+
/**
|
|
379
|
+
* Sets the current value of the channel to the passed value, which must
|
|
380
|
+
* be between min_value and max_value.
|
|
381
|
+
* #GstColorBalanceChannel::max_value members of the
|
|
382
|
+
* #GstColorBalanceChannel object.
|
|
383
|
+
* @param channel A #GstColorBalanceChannel instance
|
|
384
|
+
* @param value The new value for the channel.
|
|
385
|
+
*/
|
|
386
|
+
set_value(channel: ColorBalanceChannel, value: number): void
|
|
387
|
+
/**
|
|
388
|
+
* A helper function called by implementations of the GstColorBalance
|
|
389
|
+
* interface. It fires the #GstColorBalance::value-changed signal on the
|
|
390
|
+
* instance, and the #GstColorBalanceChannel::value-changed signal on the
|
|
391
|
+
* channel object.
|
|
392
|
+
* @param channel A #GstColorBalanceChannel whose value has changed
|
|
393
|
+
* @param value The new value of the channel
|
|
394
|
+
*/
|
|
395
|
+
value_changed(channel: ColorBalanceChannel, value: number): void
|
|
396
|
+
|
|
397
|
+
// Own signals of GstInterfaces-0.10.GstInterfaces.ColorBalance
|
|
398
|
+
|
|
399
|
+
connect(sigName: "value-changed", callback: ColorBalance.ValueChangedSignalCallback): number
|
|
400
|
+
connect_after(sigName: "value-changed", callback: ColorBalance.ValueChangedSignalCallback): number
|
|
401
|
+
emit(sigName: "value-changed", object: ColorBalanceChannel, p0: number, ...args: any[]): void
|
|
402
|
+
|
|
403
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.ColorBalance
|
|
404
|
+
|
|
405
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
406
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
407
|
+
emit(sigName: string, ...args: any[]): void
|
|
408
|
+
disconnect(id: number): void
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export class ColorBalance extends GObject.Object {
|
|
412
|
+
|
|
413
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.ColorBalance
|
|
414
|
+
|
|
415
|
+
static name: string
|
|
416
|
+
static $gtype: GObject.GType<ColorBalance>
|
|
417
|
+
|
|
418
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.ColorBalance
|
|
419
|
+
|
|
420
|
+
constructor(config?: ColorBalance.ConstructorProperties)
|
|
421
|
+
_init(config?: ColorBalance.ConstructorProperties): void
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export module Mixer {
|
|
425
|
+
|
|
426
|
+
// Signal callback interfaces
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Signal callback interface for `mute-toggled`
|
|
430
|
+
*/
|
|
431
|
+
export interface MuteToggledSignalCallback {
|
|
432
|
+
($obj: Mixer, object: MixerTrack, p0: boolean): void
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Signal callback interface for `option-changed`
|
|
437
|
+
*/
|
|
438
|
+
export interface OptionChangedSignalCallback {
|
|
439
|
+
($obj: Mixer, object: MixerOptions, p0: string): void
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Signal callback interface for `record-toggled`
|
|
444
|
+
*/
|
|
445
|
+
export interface RecordToggledSignalCallback {
|
|
446
|
+
($obj: Mixer, object: MixerTrack, p0: boolean): void
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Signal callback interface for `volume-changed`
|
|
451
|
+
*/
|
|
452
|
+
export interface VolumeChangedSignalCallback {
|
|
453
|
+
($obj: Mixer, object: MixerTrack, p0: any): void
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
// Constructor properties interface
|
|
458
|
+
|
|
459
|
+
export interface ConstructorProperties extends Gst.Element.ConstructorProperties, Gst.ImplementsInterface.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export interface Mixer extends Gst.Element, Gst.ImplementsInterface {
|
|
465
|
+
|
|
466
|
+
// Conflicting properties
|
|
467
|
+
|
|
468
|
+
object: any
|
|
469
|
+
|
|
470
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.Mixer
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Get the set of supported flags for this mixer implementation.
|
|
474
|
+
* @returns A set of or-ed GstMixerFlags for supported features.
|
|
475
|
+
*/
|
|
476
|
+
get_mixer_flags(): MixerFlags
|
|
477
|
+
/**
|
|
478
|
+
* Get the #GstMixerType of this mixer implementation.
|
|
479
|
+
* @returns A the #GstMixerType.
|
|
480
|
+
*/
|
|
481
|
+
get_mixer_type(): MixerType
|
|
482
|
+
/**
|
|
483
|
+
* Get the current value of a name/value option in the mixer.
|
|
484
|
+
* @param opts The #GstMixerOptions that we operate on.
|
|
485
|
+
* @returns current value of the name/value option.
|
|
486
|
+
*/
|
|
487
|
+
get_option(opts: MixerOptions): string | null
|
|
488
|
+
/**
|
|
489
|
+
* Get the current volume(s) on the given track.
|
|
490
|
+
* @param track the GstMixerTrack to get the volume from.
|
|
491
|
+
* @param volumes a pre-allocated array of integers (of size track->num_channels) to store the current volume of each channel in the given track in.
|
|
492
|
+
*/
|
|
493
|
+
get_volume(track: MixerTrack, volumes: number): void
|
|
494
|
+
/**
|
|
495
|
+
* Returns a list of available tracks for this mixer/element. Note
|
|
496
|
+
* that it is allowed for sink (output) elements to only provide
|
|
497
|
+
* the output tracks in this list. Likewise, for sources (inputs),
|
|
498
|
+
* it is allowed to only provide input elements in this list.
|
|
499
|
+
* The list is owned by the #GstMixer instance and must not be freed
|
|
500
|
+
* or modified.
|
|
501
|
+
* @returns A #GList consisting of zero or more #GstMixerTracks.
|
|
502
|
+
*/
|
|
503
|
+
list_tracks(): any[]
|
|
504
|
+
/**
|
|
505
|
+
* This function is called by the mixer implementation to produce
|
|
506
|
+
* a notification message on the bus indicating that the list of available
|
|
507
|
+
* mixer tracks for a given mixer object has changed. Applications should
|
|
508
|
+
* rebuild their interface when they receive this message.
|
|
509
|
+
* This function only works for GstElements that are implementing the
|
|
510
|
+
* GstMixer interface, and the element needs to have been provided a bus.
|
|
511
|
+
*/
|
|
512
|
+
mixer_changed(): void
|
|
513
|
+
/**
|
|
514
|
+
* This function is called by the mixer implementation to produce
|
|
515
|
+
* a notification message on the bus indicating that the given track
|
|
516
|
+
* has changed mute state.
|
|
517
|
+
* This function only works for GstElements that are implementing the
|
|
518
|
+
* GstMixer interface, and the element needs to have been provided a bus.
|
|
519
|
+
* @param track the GstMixerTrack that has change mute state.
|
|
520
|
+
* @param mute the new state of the mute flag on the track
|
|
521
|
+
*/
|
|
522
|
+
mute_toggled(track: MixerTrack, mute: boolean): void
|
|
523
|
+
/**
|
|
524
|
+
* This function is called by the mixer implementation to produce
|
|
525
|
+
* a notification message on the bus indicating that the given options
|
|
526
|
+
* object has changed state.
|
|
527
|
+
* This function only works for GstElements that are implementing the
|
|
528
|
+
* GstMixer interface, and the element needs to have been provided a bus.
|
|
529
|
+
* @param opts the GstMixerOptions that has changed value.
|
|
530
|
+
* @param value the new value of the GstMixerOptions.
|
|
531
|
+
*/
|
|
532
|
+
option_changed(opts: MixerOptions, value: string | null): void
|
|
533
|
+
/**
|
|
534
|
+
* This function is called by the mixer implementation to produce
|
|
535
|
+
* a notification message on the bus indicating that the list of possible
|
|
536
|
+
* options of a given options object has changed.
|
|
537
|
+
* The new options are not contained in the message on purpose. Applications
|
|
538
|
+
* should call gst_mixer_option_get_values() on `opts` to make `opts` update
|
|
539
|
+
* its internal state and obtain the new list of values.
|
|
540
|
+
* This function only works for GstElements that are implementing the
|
|
541
|
+
* GstMixer interface, and the element needs to have been provided a bus
|
|
542
|
+
* for this to work.
|
|
543
|
+
* @param opts the GstMixerOptions whose list of values has changed
|
|
544
|
+
*/
|
|
545
|
+
options_list_changed(opts: MixerOptions): void
|
|
546
|
+
/**
|
|
547
|
+
* This function is called by the mixer implementation to produce
|
|
548
|
+
* a notification message on the bus indicating that the given track
|
|
549
|
+
* has changed recording state.
|
|
550
|
+
* This function only works for GstElements that are implementing the
|
|
551
|
+
* GstMixer interface, and the element needs to have been provided a bus.
|
|
552
|
+
* @param track the GstMixerTrack that has changed recording state.
|
|
553
|
+
* @param record the new state of the record flag on the track
|
|
554
|
+
*/
|
|
555
|
+
record_toggled(track: MixerTrack, record: boolean): void
|
|
556
|
+
/**
|
|
557
|
+
* Mutes or unmutes the given channel. To find out whether a
|
|
558
|
+
* track is currently muted, use GST_MIXER_TRACK_HAS_FLAG ().
|
|
559
|
+
* @param track the #GstMixerTrack to operate on.
|
|
560
|
+
* @param mute a boolean value indicating whether to turn on or off muting.
|
|
561
|
+
*/
|
|
562
|
+
set_mute(track: MixerTrack, mute: boolean): void
|
|
563
|
+
/**
|
|
564
|
+
* Sets a name/value option in the mixer to the requested value.
|
|
565
|
+
* @param opts The #GstMixerOptions that we operate on.
|
|
566
|
+
* @param value The requested new option value.
|
|
567
|
+
*/
|
|
568
|
+
set_option(opts: MixerOptions, value: string | null): void
|
|
569
|
+
/**
|
|
570
|
+
* Enables or disables recording on the given track. Note that
|
|
571
|
+
* this is only possible on input tracks, not on output tracks
|
|
572
|
+
* (see GST_MIXER_TRACK_HAS_FLAG () and the GST_MIXER_TRACK_INPUT
|
|
573
|
+
* flag).
|
|
574
|
+
* @param track the #GstMixerTrack to operate on.
|
|
575
|
+
* @param record a boolean value that indicates whether to turn on or off recording.
|
|
576
|
+
*/
|
|
577
|
+
set_record(track: MixerTrack, record: boolean): void
|
|
578
|
+
/**
|
|
579
|
+
* Sets the volume on each channel in a track. Short note about
|
|
580
|
+
* the mixer/element, such as 'Line-in' or 'Microphone'. A
|
|
581
|
+
* channel is said to be a mono-stream inside this track. A
|
|
582
|
+
* stereo track thus contains two channels.
|
|
583
|
+
* @param track The #GstMixerTrack to set the volume on.
|
|
584
|
+
* @param volumes an array of integers (of size track->num_channels) that gives the wanted volume for each channel in this track.
|
|
585
|
+
*/
|
|
586
|
+
set_volume(track: MixerTrack, volumes: number): void
|
|
587
|
+
/**
|
|
588
|
+
* This function is called by the mixer implementation to produce
|
|
589
|
+
* a notification message on the bus indicating that the volume(s) for the
|
|
590
|
+
* given track have changed.
|
|
591
|
+
* This function only works for GstElements that are implementing the
|
|
592
|
+
* GstMixer interface, and the element needs to have been provided a bus.
|
|
593
|
+
* @param track the GstMixerTrack that has changed.
|
|
594
|
+
* @param volumes Array of volume values, one per channel on the mixer track.
|
|
595
|
+
*/
|
|
596
|
+
volume_changed(track: MixerTrack, volumes: number): void
|
|
597
|
+
|
|
598
|
+
// Own signals of GstInterfaces-0.10.GstInterfaces.Mixer
|
|
599
|
+
|
|
600
|
+
connect(sigName: "mute-toggled", callback: Mixer.MuteToggledSignalCallback): number
|
|
601
|
+
connect_after(sigName: "mute-toggled", callback: Mixer.MuteToggledSignalCallback): number
|
|
602
|
+
emit(sigName: "mute-toggled", object: MixerTrack, p0: boolean, ...args: any[]): void
|
|
603
|
+
connect(sigName: "option-changed", callback: Mixer.OptionChangedSignalCallback): number
|
|
604
|
+
connect_after(sigName: "option-changed", callback: Mixer.OptionChangedSignalCallback): number
|
|
605
|
+
emit(sigName: "option-changed", object: MixerOptions, p0: string, ...args: any[]): void
|
|
606
|
+
connect(sigName: "record-toggled", callback: Mixer.RecordToggledSignalCallback): number
|
|
607
|
+
connect_after(sigName: "record-toggled", callback: Mixer.RecordToggledSignalCallback): number
|
|
608
|
+
emit(sigName: "record-toggled", object: MixerTrack, p0: boolean, ...args: any[]): void
|
|
609
|
+
connect(sigName: "volume-changed", callback: Mixer.VolumeChangedSignalCallback): number
|
|
610
|
+
connect_after(sigName: "volume-changed", callback: Mixer.VolumeChangedSignalCallback): number
|
|
611
|
+
emit(sigName: "volume-changed", object: MixerTrack, p0: any, ...args: any[]): void
|
|
612
|
+
|
|
613
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.Mixer
|
|
614
|
+
|
|
615
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
616
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
617
|
+
emit(sigName: string, ...args: any[]): void
|
|
618
|
+
disconnect(id: number): void
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export class Mixer extends GObject.Object {
|
|
622
|
+
|
|
623
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.Mixer
|
|
624
|
+
|
|
625
|
+
static name: string
|
|
626
|
+
static $gtype: GObject.GType<Mixer>
|
|
627
|
+
|
|
628
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.Mixer
|
|
629
|
+
|
|
630
|
+
constructor(config?: Mixer.ConstructorProperties)
|
|
631
|
+
_init(config?: Mixer.ConstructorProperties): void
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export module Navigation {
|
|
635
|
+
|
|
636
|
+
// Constructor properties interface
|
|
637
|
+
|
|
638
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export interface Navigation {
|
|
644
|
+
|
|
645
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.Navigation
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Sends the indicated command to the navigation interface.
|
|
649
|
+
* @param command The command to issue
|
|
650
|
+
*/
|
|
651
|
+
send_command(command: NavigationCommand): void
|
|
652
|
+
send_event(structure: Gst.Structure): void
|
|
653
|
+
send_key_event(event: string | null, key: string | null): void
|
|
654
|
+
/**
|
|
655
|
+
* Sends a mouse event to the navigation interface. Mouse event coordinates
|
|
656
|
+
* are sent relative to the display space of the related output area. This is
|
|
657
|
+
* usually the size in pixels of the window associated with the element
|
|
658
|
+
* implementing the #GstNavigation interface.
|
|
659
|
+
* @param event The type of mouse event, as a text string. Recognised values are "mouse-button-press", "mouse-button-release" and "mouse-move".
|
|
660
|
+
* @param button The button number of the button being pressed or released. Pass 0 for mouse-move events.
|
|
661
|
+
* @param x The x coordinate of the mouse event.
|
|
662
|
+
* @param y The y coordinate of the mouse event.
|
|
663
|
+
*/
|
|
664
|
+
send_mouse_event(event: string | null, button: number, x: number, y: number): void
|
|
665
|
+
|
|
666
|
+
// Own virtual methods of GstInterfaces-0.10.GstInterfaces.Navigation
|
|
667
|
+
|
|
668
|
+
vfunc_send_event(structure: Gst.Structure): void
|
|
669
|
+
|
|
670
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.Navigation
|
|
671
|
+
|
|
672
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
673
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
674
|
+
emit(sigName: string, ...args: any[]): void
|
|
675
|
+
disconnect(id: number): void
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export class Navigation extends GObject.Object {
|
|
679
|
+
|
|
680
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.Navigation
|
|
681
|
+
|
|
682
|
+
static name: string
|
|
683
|
+
static $gtype: GObject.GType<Navigation>
|
|
684
|
+
|
|
685
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.Navigation
|
|
686
|
+
|
|
687
|
+
constructor(config?: Navigation.ConstructorProperties)
|
|
688
|
+
_init(config?: Navigation.ConstructorProperties): void
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export module PropertyProbe {
|
|
692
|
+
|
|
693
|
+
// Signal callback interfaces
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Signal callback interface for `probe-needed`
|
|
697
|
+
*/
|
|
698
|
+
export interface ProbeNeededSignalCallback {
|
|
699
|
+
($obj: PropertyProbe, object: any): void
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
// Constructor properties interface
|
|
704
|
+
|
|
705
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export interface PropertyProbe {
|
|
711
|
+
|
|
712
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.PropertyProbe
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Get a list of properties for which probing is supported.
|
|
716
|
+
* by this element.
|
|
717
|
+
* @returns the list of properties for which probing is supported
|
|
718
|
+
*/
|
|
719
|
+
get_properties(): any[]
|
|
720
|
+
/**
|
|
721
|
+
* Get #GParamSpec for a property for which probing is supported.
|
|
722
|
+
* @param name name of the property.
|
|
723
|
+
* @returns the #GParamSpec of %NULL.
|
|
724
|
+
*/
|
|
725
|
+
get_property(name: string | null): GObject.ParamSpec
|
|
726
|
+
|
|
727
|
+
// Overloads of get_property
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Gets a property of an object.
|
|
731
|
+
*
|
|
732
|
+
* The `value` can be:
|
|
733
|
+
*
|
|
734
|
+
* - an empty #GValue initialized by %G_VALUE_INIT, which will be
|
|
735
|
+
* automatically initialized with the expected type of the property
|
|
736
|
+
* (since GLib 2.60)
|
|
737
|
+
* - a #GValue initialized with the expected type of the property
|
|
738
|
+
* - a #GValue initialized with a type to which the expected type
|
|
739
|
+
* of the property can be transformed
|
|
740
|
+
*
|
|
741
|
+
* In general, a copy is made of the property contents and the caller is
|
|
742
|
+
* responsible for freeing the memory by calling g_value_unset().
|
|
743
|
+
*
|
|
744
|
+
* Note that g_object_get_property() is really intended for language
|
|
745
|
+
* bindings, g_object_get() is much more convenient for C programming.
|
|
746
|
+
* @param property_name the name of the property to get
|
|
747
|
+
* @param value return location for the property value
|
|
748
|
+
*/
|
|
749
|
+
get_property(property_name: string | null, value: any): void
|
|
750
|
+
/**
|
|
751
|
+
* Gets the possible (probed) values for the given property,
|
|
752
|
+
* requires the property to have been probed before.
|
|
753
|
+
* @param pspec the #GParamSpec property identifier.
|
|
754
|
+
* @returns A list of valid values for the given property.
|
|
755
|
+
*/
|
|
756
|
+
get_values(pspec: GObject.ParamSpec): GObject.ValueArray
|
|
757
|
+
/**
|
|
758
|
+
* Same as gst_property_probe_get_values ().
|
|
759
|
+
* @param name the name of the property to get values for.
|
|
760
|
+
* @returns A list of valid values for the given property.
|
|
761
|
+
*/
|
|
762
|
+
get_values_name(name: string | null): GObject.ValueArray
|
|
763
|
+
/**
|
|
764
|
+
* Checks whether a property needs a probe. This might be because
|
|
765
|
+
* the property wasn't initialized before, or because host setup
|
|
766
|
+
* changed. This might be, for example, because a new device was
|
|
767
|
+
* added, and thus device probing needs to be refreshed to display
|
|
768
|
+
* the new device.
|
|
769
|
+
* @param pspec a #GParamSpec that identifies the property to check.
|
|
770
|
+
* @returns TRUE if the property needs a new probe, FALSE if not.
|
|
771
|
+
*/
|
|
772
|
+
needs_probe(pspec: GObject.ParamSpec): boolean
|
|
773
|
+
/**
|
|
774
|
+
* Same as gst_property_probe_needs_probe ().
|
|
775
|
+
* @param name the name of the property to check.
|
|
776
|
+
* @returns TRUE if the property needs a new probe, FALSE if not.
|
|
777
|
+
*/
|
|
778
|
+
needs_probe_name(name: string | null): boolean
|
|
779
|
+
/**
|
|
780
|
+
* Check whether the given property requires a new probe. If so,
|
|
781
|
+
* fo the probe. After that, retrieve a value list. Meant as a
|
|
782
|
+
* utility function that wraps the above functions.
|
|
783
|
+
* @param pspec The #GParamSpec property identifier.
|
|
784
|
+
* @returns the list of valid values for this property.
|
|
785
|
+
*/
|
|
786
|
+
probe_and_get_values(pspec: GObject.ParamSpec): GObject.ValueArray
|
|
787
|
+
/**
|
|
788
|
+
* Same as gst_property_probe_probe_and_get_values ().
|
|
789
|
+
* @param name the name of the property to get values for.
|
|
790
|
+
* @returns the list of valid values for this property.
|
|
791
|
+
*/
|
|
792
|
+
probe_and_get_values_name(name: string | null): GObject.ValueArray
|
|
793
|
+
/**
|
|
794
|
+
* Runs a probe on the property specified by `pspec`
|
|
795
|
+
* @param pspec #GParamSpec of the property.
|
|
796
|
+
*/
|
|
797
|
+
probe_property(pspec: GObject.ParamSpec): void
|
|
798
|
+
/**
|
|
799
|
+
* Runs a probe on the property specified by `name`.
|
|
800
|
+
* @param name name of the property.
|
|
801
|
+
*/
|
|
802
|
+
probe_property_name(name: string | null): void
|
|
803
|
+
|
|
804
|
+
// Own virtual methods of GstInterfaces-0.10.GstInterfaces.PropertyProbe
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Get a list of properties for which probing is supported.
|
|
808
|
+
* by this element.
|
|
809
|
+
* @virtual
|
|
810
|
+
* @returns the list of properties for which probing is supported
|
|
811
|
+
*/
|
|
812
|
+
vfunc_get_properties(): any[]
|
|
813
|
+
vfunc_get_values(prop_id: number, pspec: GObject.ParamSpec): GObject.ValueArray
|
|
814
|
+
vfunc_needs_probe(prop_id: number, pspec: GObject.ParamSpec): boolean
|
|
815
|
+
vfunc_probe_property(prop_id: number, pspec: GObject.ParamSpec): void
|
|
816
|
+
|
|
817
|
+
// Own signals of GstInterfaces-0.10.GstInterfaces.PropertyProbe
|
|
818
|
+
|
|
819
|
+
connect(sigName: "probe-needed", callback: PropertyProbe.ProbeNeededSignalCallback): number
|
|
820
|
+
connect_after(sigName: "probe-needed", callback: PropertyProbe.ProbeNeededSignalCallback): number
|
|
821
|
+
emit(sigName: "probe-needed", object: any, ...args: any[]): void
|
|
822
|
+
|
|
823
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.PropertyProbe
|
|
824
|
+
|
|
825
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
826
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
827
|
+
emit(sigName: string, ...args: any[]): void
|
|
828
|
+
disconnect(id: number): void
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Opaque #GstPropertyProbe data structure.
|
|
833
|
+
* @interface
|
|
834
|
+
*/
|
|
835
|
+
export class PropertyProbe extends GObject.Object {
|
|
836
|
+
|
|
837
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.PropertyProbe
|
|
838
|
+
|
|
839
|
+
static name: string
|
|
840
|
+
static $gtype: GObject.GType<PropertyProbe>
|
|
841
|
+
|
|
842
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.PropertyProbe
|
|
843
|
+
|
|
844
|
+
constructor(config?: PropertyProbe.ConstructorProperties)
|
|
845
|
+
_init(config?: PropertyProbe.ConstructorProperties): void
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
export module StreamVolume {
|
|
849
|
+
|
|
850
|
+
// Constructor properties interface
|
|
851
|
+
|
|
852
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
853
|
+
|
|
854
|
+
// Own constructor properties of GstInterfaces-0.10.GstInterfaces.StreamVolume
|
|
855
|
+
|
|
856
|
+
mute?: boolean | null
|
|
857
|
+
volume?: number | null
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export interface StreamVolume {
|
|
863
|
+
|
|
864
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.StreamVolume
|
|
865
|
+
|
|
866
|
+
mute: boolean
|
|
867
|
+
volume: number
|
|
868
|
+
|
|
869
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.StreamVolume
|
|
870
|
+
|
|
871
|
+
get_mute(): boolean
|
|
872
|
+
get_volume(format: StreamVolumeFormat): number
|
|
873
|
+
set_mute(mute: boolean): void
|
|
874
|
+
set_volume(format: StreamVolumeFormat, val: number): void
|
|
875
|
+
|
|
876
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.StreamVolume
|
|
877
|
+
|
|
878
|
+
connect(sigName: "notify::mute", callback: (($obj: StreamVolume, pspec: GObject.ParamSpec) => void)): number
|
|
879
|
+
connect_after(sigName: "notify::mute", callback: (($obj: StreamVolume, pspec: GObject.ParamSpec) => void)): number
|
|
880
|
+
emit(sigName: "notify::mute", ...args: any[]): void
|
|
881
|
+
connect(sigName: "notify::volume", callback: (($obj: StreamVolume, pspec: GObject.ParamSpec) => void)): number
|
|
882
|
+
connect_after(sigName: "notify::volume", callback: (($obj: StreamVolume, pspec: GObject.ParamSpec) => void)): number
|
|
883
|
+
emit(sigName: "notify::volume", ...args: any[]): void
|
|
884
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
885
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
886
|
+
emit(sigName: string, ...args: any[]): void
|
|
887
|
+
disconnect(id: number): void
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export class StreamVolume extends GObject.Object {
|
|
891
|
+
|
|
892
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.StreamVolume
|
|
893
|
+
|
|
894
|
+
static name: string
|
|
895
|
+
static $gtype: GObject.GType<StreamVolume>
|
|
896
|
+
|
|
897
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.StreamVolume
|
|
898
|
+
|
|
899
|
+
constructor(config?: StreamVolume.ConstructorProperties)
|
|
900
|
+
_init(config?: StreamVolume.ConstructorProperties): void
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export module Tuner {
|
|
904
|
+
|
|
905
|
+
// Signal callback interfaces
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Signal callback interface for `channel-changed`
|
|
909
|
+
*/
|
|
910
|
+
export interface ChannelChangedSignalCallback {
|
|
911
|
+
($obj: Tuner, object: TunerChannel): void
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Signal callback interface for `frequency-changed`
|
|
916
|
+
*/
|
|
917
|
+
export interface FrequencyChangedSignalCallback {
|
|
918
|
+
($obj: Tuner, object: TunerChannel, p0: number): void
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Signal callback interface for `norm-changed`
|
|
923
|
+
*/
|
|
924
|
+
export interface NormChangedSignalCallback {
|
|
925
|
+
($obj: Tuner, object: TunerNorm): void
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Signal callback interface for `signal-changed`
|
|
930
|
+
*/
|
|
931
|
+
export interface SignalChangedSignalCallback {
|
|
932
|
+
($obj: Tuner, object: TunerChannel, p0: number): void
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
// Constructor properties interface
|
|
937
|
+
|
|
938
|
+
export interface ConstructorProperties extends Gst.Element.ConstructorProperties, Gst.ImplementsInterface.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export interface Tuner extends Gst.Element, Gst.ImplementsInterface {
|
|
944
|
+
|
|
945
|
+
// Conflicting properties
|
|
946
|
+
|
|
947
|
+
object: any
|
|
948
|
+
|
|
949
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.Tuner
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Called by elements implementing the #GstTuner interface when the
|
|
953
|
+
* current channel changes. Fires the #GstTuner::channel-changed signal.
|
|
954
|
+
* @param channel A #GstTunerChannel instance
|
|
955
|
+
*/
|
|
956
|
+
channel_changed(channel: TunerChannel): void
|
|
957
|
+
/**
|
|
958
|
+
* Called by elements implementing the #GstTuner interface when the
|
|
959
|
+
* configured frequency changes. Fires the #GstTuner::frequency-changed
|
|
960
|
+
* signal on the tuner, and the #GstTunerChannel::frequency-changed signal
|
|
961
|
+
* on the channel.
|
|
962
|
+
* @param channel The current #GstTunerChannel
|
|
963
|
+
* @param frequency The new frequency setting
|
|
964
|
+
*/
|
|
965
|
+
frequency_changed(channel: TunerChannel, frequency: number): void
|
|
966
|
+
/**
|
|
967
|
+
* Retrieve the current frequency from the given channel. As for
|
|
968
|
+
* gst_tuner_set_frequency(), the #GstTunerChannel must support frequency
|
|
969
|
+
* operations, as indicated by the GST_TUNER_CHANNEL_FREQUENCY flag.
|
|
970
|
+
* @param channel The #GstTunerChannel to retrieve the frequency from.
|
|
971
|
+
* @returns The current frequency, or 0 on error.
|
|
972
|
+
*/
|
|
973
|
+
get_frequency(channel: TunerChannel): number
|
|
974
|
+
/**
|
|
975
|
+
* Retrieve a #GList of #GstTunerChannels available
|
|
976
|
+
* (e.g. 'composite', 's-video', ...) from the given tuner object.
|
|
977
|
+
* owned by the GstTuner and must not be freed.
|
|
978
|
+
* @returns A list of channels available on this tuner. The list is
|
|
979
|
+
*/
|
|
980
|
+
list_channels(): any[]
|
|
981
|
+
/**
|
|
982
|
+
* Retrieve a GList of available #GstTunerNorm settings for the currently
|
|
983
|
+
* tuned channel on the given tuner object.
|
|
984
|
+
* tuner object. The list is owned by the GstTuner and must not
|
|
985
|
+
* be freed.
|
|
986
|
+
* @returns A list of norms available on the current channel for this
|
|
987
|
+
*/
|
|
988
|
+
list_norms(): any[]
|
|
989
|
+
/**
|
|
990
|
+
* Called by elements implementing the #GstTuner interface when the
|
|
991
|
+
* current norm changes. Fires the #GstTuner::norm-changed signal.
|
|
992
|
+
* @param norm A #GstTunerNorm instance
|
|
993
|
+
*/
|
|
994
|
+
norm_changed(norm: TunerNorm): void
|
|
995
|
+
/**
|
|
996
|
+
* Tunes the object to the given channel, which should be one of the
|
|
997
|
+
* channels returned by gst_tuner_list_channels().
|
|
998
|
+
* @param channel the channel to tune to.
|
|
999
|
+
*/
|
|
1000
|
+
set_channel(channel: TunerChannel): void
|
|
1001
|
+
/**
|
|
1002
|
+
* Sets a tuning frequency on the given tuner/channel. Note that this
|
|
1003
|
+
* requires the given channel to be a "tuning" channel, which can be
|
|
1004
|
+
* checked using GST_TUNER_CHANNEL_HAS_FLAG (), with the proper flag
|
|
1005
|
+
* being GST_TUNER_CHANNEL_FREQUENCY.
|
|
1006
|
+
* The frequency is in Hz, with minimum steps indicated by the
|
|
1007
|
+
* frequency_multiplicator provided in the #GstTunerChannel. The
|
|
1008
|
+
* valid range is provided in the min_frequency and max_frequency properties
|
|
1009
|
+
* of the #GstTunerChannel.
|
|
1010
|
+
* @param channel The #GstTunerChannel to set the frequency on.
|
|
1011
|
+
* @param frequency The frequency to tune in to.
|
|
1012
|
+
*/
|
|
1013
|
+
set_frequency(channel: TunerChannel, frequency: number): void
|
|
1014
|
+
/**
|
|
1015
|
+
* Changes the video norm on this tuner to the given norm, which should be
|
|
1016
|
+
* one of the norms returned by gst_tuner_list_norms().
|
|
1017
|
+
* @param norm the norm to use for the current channel.
|
|
1018
|
+
*/
|
|
1019
|
+
set_norm(norm: TunerNorm): void
|
|
1020
|
+
/**
|
|
1021
|
+
* Called by elements implementing the #GstTuner interface when the
|
|
1022
|
+
* incoming signal strength changes. Fires the #GstTuner::signal-changed
|
|
1023
|
+
* signal on the tuner and the #GstTunerChannel::signal-changed signal on
|
|
1024
|
+
* the channel.
|
|
1025
|
+
* @param channel The current #GstTunerChannel
|
|
1026
|
+
* @param signal The new signal strength
|
|
1027
|
+
*/
|
|
1028
|
+
signal_changed(channel: TunerChannel, signal: number): void
|
|
1029
|
+
/**
|
|
1030
|
+
* Get the strength of the signal on this channel. Note that this
|
|
1031
|
+
* requires the current channel to be a "tuning" channel, i.e. a
|
|
1032
|
+
* channel on which frequency can be set. This can be checked using
|
|
1033
|
+
* GST_TUNER_CHANNEL_HAS_FLAG (), and the appropriate flag to check
|
|
1034
|
+
* for is GST_TUNER_CHANNEL_FREQUENCY.
|
|
1035
|
+
* The valid range of the signal strength is indicated in the
|
|
1036
|
+
* min_signal and max_signal properties of the #GstTunerChannel.
|
|
1037
|
+
* @param channel the #GstTunerChannel to get the signal strength from.
|
|
1038
|
+
* @returns Signal strength, or 0 on error.
|
|
1039
|
+
*/
|
|
1040
|
+
signal_strength(channel: TunerChannel): number
|
|
1041
|
+
|
|
1042
|
+
// Own signals of GstInterfaces-0.10.GstInterfaces.Tuner
|
|
1043
|
+
|
|
1044
|
+
connect(sigName: "channel-changed", callback: Tuner.ChannelChangedSignalCallback): number
|
|
1045
|
+
connect_after(sigName: "channel-changed", callback: Tuner.ChannelChangedSignalCallback): number
|
|
1046
|
+
emit(sigName: "channel-changed", object: TunerChannel, ...args: any[]): void
|
|
1047
|
+
connect(sigName: "frequency-changed", callback: Tuner.FrequencyChangedSignalCallback): number
|
|
1048
|
+
connect_after(sigName: "frequency-changed", callback: Tuner.FrequencyChangedSignalCallback): number
|
|
1049
|
+
emit(sigName: "frequency-changed", object: TunerChannel, p0: number, ...args: any[]): void
|
|
1050
|
+
connect(sigName: "norm-changed", callback: Tuner.NormChangedSignalCallback): number
|
|
1051
|
+
connect_after(sigName: "norm-changed", callback: Tuner.NormChangedSignalCallback): number
|
|
1052
|
+
emit(sigName: "norm-changed", object: TunerNorm, ...args: any[]): void
|
|
1053
|
+
connect(sigName: "signal-changed", callback: Tuner.SignalChangedSignalCallback): number
|
|
1054
|
+
connect_after(sigName: "signal-changed", callback: Tuner.SignalChangedSignalCallback): number
|
|
1055
|
+
emit(sigName: "signal-changed", object: TunerChannel, p0: number, ...args: any[]): void
|
|
1056
|
+
|
|
1057
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.Tuner
|
|
1058
|
+
|
|
1059
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1060
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1061
|
+
emit(sigName: string, ...args: any[]): void
|
|
1062
|
+
disconnect(id: number): void
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
export class Tuner extends GObject.Object {
|
|
1066
|
+
|
|
1067
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.Tuner
|
|
1068
|
+
|
|
1069
|
+
static name: string
|
|
1070
|
+
static $gtype: GObject.GType<Tuner>
|
|
1071
|
+
|
|
1072
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.Tuner
|
|
1073
|
+
|
|
1074
|
+
constructor(config?: Tuner.ConstructorProperties)
|
|
1075
|
+
_init(config?: Tuner.ConstructorProperties): void
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
export module VideoOrientation {
|
|
1079
|
+
|
|
1080
|
+
// Constructor properties interface
|
|
1081
|
+
|
|
1082
|
+
export interface ConstructorProperties extends Gst.Element.ConstructorProperties, Gst.ImplementsInterface.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export interface VideoOrientation extends Gst.Element, Gst.ImplementsInterface {
|
|
1088
|
+
|
|
1089
|
+
// Conflicting properties
|
|
1090
|
+
|
|
1091
|
+
object: any
|
|
1092
|
+
|
|
1093
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.VideoOrientation
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Get the horizontal centering offset from the given object.
|
|
1097
|
+
* @param center return location for the result
|
|
1098
|
+
* @returns %TRUE in case the element supports centering
|
|
1099
|
+
*/
|
|
1100
|
+
get_hcenter(center: number): boolean
|
|
1101
|
+
/**
|
|
1102
|
+
* Get the horizontal flipping state (%TRUE for flipped) from the given object.
|
|
1103
|
+
* @param flip return location for the result
|
|
1104
|
+
* @returns %TRUE in case the element supports flipping
|
|
1105
|
+
*/
|
|
1106
|
+
get_hflip(flip: boolean): boolean
|
|
1107
|
+
/**
|
|
1108
|
+
* Get the vertical centering offset from the given object.
|
|
1109
|
+
* @param center return location for the result
|
|
1110
|
+
* @returns %TRUE in case the element supports centering
|
|
1111
|
+
*/
|
|
1112
|
+
get_vcenter(center: number): boolean
|
|
1113
|
+
/**
|
|
1114
|
+
* Get the vertical flipping state (%TRUE for flipped) from the given object.
|
|
1115
|
+
* @param flip return location for the result
|
|
1116
|
+
* @returns %TRUE in case the element supports flipping
|
|
1117
|
+
*/
|
|
1118
|
+
get_vflip(flip: boolean): boolean
|
|
1119
|
+
/**
|
|
1120
|
+
* Set the horizontal centering offset for the given object.
|
|
1121
|
+
* @param center centering offset
|
|
1122
|
+
* @returns %TRUE in case the element supports centering
|
|
1123
|
+
*/
|
|
1124
|
+
set_hcenter(center: number): boolean
|
|
1125
|
+
/**
|
|
1126
|
+
* Set the horizontal flipping state (%TRUE for flipped) for the given object.
|
|
1127
|
+
* @param flip use flipping
|
|
1128
|
+
* @returns %TRUE in case the element supports flipping
|
|
1129
|
+
*/
|
|
1130
|
+
set_hflip(flip: boolean): boolean
|
|
1131
|
+
/**
|
|
1132
|
+
* Set the vertical centering offset for the given object.
|
|
1133
|
+
* @param center centering offset
|
|
1134
|
+
* @returns %TRUE in case the element supports centering
|
|
1135
|
+
*/
|
|
1136
|
+
set_vcenter(center: number): boolean
|
|
1137
|
+
/**
|
|
1138
|
+
* Set the vertical flipping state (%TRUE for flipped) for the given object.
|
|
1139
|
+
* @param flip use flipping
|
|
1140
|
+
* @returns %TRUE in case the element supports flipping
|
|
1141
|
+
*/
|
|
1142
|
+
set_vflip(flip: boolean): boolean
|
|
1143
|
+
|
|
1144
|
+
// Own virtual methods of GstInterfaces-0.10.GstInterfaces.VideoOrientation
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Get the horizontal centering offset from the given object.
|
|
1148
|
+
* @virtual
|
|
1149
|
+
* @param center return location for the result
|
|
1150
|
+
* @returns %TRUE in case the element supports centering
|
|
1151
|
+
*/
|
|
1152
|
+
vfunc_get_hcenter(center: number): boolean
|
|
1153
|
+
/**
|
|
1154
|
+
* Get the horizontal flipping state (%TRUE for flipped) from the given object.
|
|
1155
|
+
* @virtual
|
|
1156
|
+
* @param flip return location for the result
|
|
1157
|
+
* @returns %TRUE in case the element supports flipping
|
|
1158
|
+
*/
|
|
1159
|
+
vfunc_get_hflip(flip: boolean): boolean
|
|
1160
|
+
/**
|
|
1161
|
+
* Get the vertical centering offset from the given object.
|
|
1162
|
+
* @virtual
|
|
1163
|
+
* @param center return location for the result
|
|
1164
|
+
* @returns %TRUE in case the element supports centering
|
|
1165
|
+
*/
|
|
1166
|
+
vfunc_get_vcenter(center: number): boolean
|
|
1167
|
+
/**
|
|
1168
|
+
* Get the vertical flipping state (%TRUE for flipped) from the given object.
|
|
1169
|
+
* @virtual
|
|
1170
|
+
* @param flip return location for the result
|
|
1171
|
+
* @returns %TRUE in case the element supports flipping
|
|
1172
|
+
*/
|
|
1173
|
+
vfunc_get_vflip(flip: boolean): boolean
|
|
1174
|
+
/**
|
|
1175
|
+
* Set the horizontal centering offset for the given object.
|
|
1176
|
+
* @virtual
|
|
1177
|
+
* @param center centering offset
|
|
1178
|
+
* @returns %TRUE in case the element supports centering
|
|
1179
|
+
*/
|
|
1180
|
+
vfunc_set_hcenter(center: number): boolean
|
|
1181
|
+
/**
|
|
1182
|
+
* Set the horizontal flipping state (%TRUE for flipped) for the given object.
|
|
1183
|
+
* @virtual
|
|
1184
|
+
* @param flip use flipping
|
|
1185
|
+
* @returns %TRUE in case the element supports flipping
|
|
1186
|
+
*/
|
|
1187
|
+
vfunc_set_hflip(flip: boolean): boolean
|
|
1188
|
+
/**
|
|
1189
|
+
* Set the vertical centering offset for the given object.
|
|
1190
|
+
* @virtual
|
|
1191
|
+
* @param center centering offset
|
|
1192
|
+
* @returns %TRUE in case the element supports centering
|
|
1193
|
+
*/
|
|
1194
|
+
vfunc_set_vcenter(center: number): boolean
|
|
1195
|
+
/**
|
|
1196
|
+
* Set the vertical flipping state (%TRUE for flipped) for the given object.
|
|
1197
|
+
* @virtual
|
|
1198
|
+
* @param flip use flipping
|
|
1199
|
+
* @returns %TRUE in case the element supports flipping
|
|
1200
|
+
*/
|
|
1201
|
+
vfunc_set_vflip(flip: boolean): boolean
|
|
1202
|
+
|
|
1203
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.VideoOrientation
|
|
1204
|
+
|
|
1205
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1206
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1207
|
+
emit(sigName: string, ...args: any[]): void
|
|
1208
|
+
disconnect(id: number): void
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Opaque #GstVideoOrientation data structure.
|
|
1213
|
+
* @interface
|
|
1214
|
+
*/
|
|
1215
|
+
export class VideoOrientation extends GObject.Object {
|
|
1216
|
+
|
|
1217
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.VideoOrientation
|
|
1218
|
+
|
|
1219
|
+
static name: string
|
|
1220
|
+
static $gtype: GObject.GType<VideoOrientation>
|
|
1221
|
+
|
|
1222
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.VideoOrientation
|
|
1223
|
+
|
|
1224
|
+
constructor(config?: VideoOrientation.ConstructorProperties)
|
|
1225
|
+
_init(config?: VideoOrientation.ConstructorProperties): void
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
export module XOverlay {
|
|
1229
|
+
|
|
1230
|
+
// Constructor properties interface
|
|
1231
|
+
|
|
1232
|
+
export interface ConstructorProperties extends Gst.Element.ConstructorProperties, Gst.ImplementsInterface.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
export interface XOverlay extends Gst.Element, Gst.ImplementsInterface {
|
|
1238
|
+
|
|
1239
|
+
// Conflicting properties
|
|
1240
|
+
|
|
1241
|
+
object: any
|
|
1242
|
+
|
|
1243
|
+
// Owm methods of GstInterfaces-0.10.GstInterfaces.XOverlay
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Tell an overlay that it has been exposed. This will redraw the current frame
|
|
1247
|
+
* in the drawable even if the pipeline is PAUSED.
|
|
1248
|
+
*/
|
|
1249
|
+
expose(): void
|
|
1250
|
+
/**
|
|
1251
|
+
* This will post a "have-xwindow-id" element message on the bus.
|
|
1252
|
+
* This function should only be used by video overlay plugin developers.
|
|
1253
|
+
* @param xwindow_id a #XID referencing the XWindow.
|
|
1254
|
+
*/
|
|
1255
|
+
got_xwindow_id(xwindow_id: number): void
|
|
1256
|
+
/**
|
|
1257
|
+
* Tell an overlay that it should handle events from the window system. These
|
|
1258
|
+
* events are forwared upstream as navigation events. In some window system,
|
|
1259
|
+
* events are not propagated in the window hierarchy if a client is listening
|
|
1260
|
+
* for them. This method allows you to disable events handling completely
|
|
1261
|
+
* from the XOverlay.
|
|
1262
|
+
* @param handle_events a #gboolean indicating if events should be handled or not.
|
|
1263
|
+
*/
|
|
1264
|
+
handle_events(handle_events: boolean): void
|
|
1265
|
+
/**
|
|
1266
|
+
* This will post a "prepare-xwindow-id" element message on the bus
|
|
1267
|
+
* to give applications an opportunity to call
|
|
1268
|
+
* gst_x_overlay_set_xwindow_id() before a plugin creates its own
|
|
1269
|
+
* window.
|
|
1270
|
+
* This function should only be used by video overlay plugin developers.
|
|
1271
|
+
*/
|
|
1272
|
+
prepare_xwindow_id(): void
|
|
1273
|
+
/**
|
|
1274
|
+
* Configure a subregion as a video target within the window set by
|
|
1275
|
+
* gst_x_overlay_set_window_handle(). If this is not used or not supported
|
|
1276
|
+
* the video will fill the area of the window set as the overlay to 100%.
|
|
1277
|
+
* By specifying the rectangle, the video can be overlayed to a specific region
|
|
1278
|
+
* of that window only. After setting the new rectangle one should call
|
|
1279
|
+
* gst_x_overlay_expose() to force a redraw. To unset the region pass -1 for
|
|
1280
|
+
* the `width` and `height` parameters.
|
|
1281
|
+
* This method is needed for non fullscreen video overlay in UI toolkits that
|
|
1282
|
+
* do not support subwindows.
|
|
1283
|
+
* @param x the horizontal offset of the render area inside the window
|
|
1284
|
+
* @param y the vertical offset of the render area inside the window
|
|
1285
|
+
* @param width the width of the render area inside the window
|
|
1286
|
+
* @param height the height of the render area inside the window
|
|
1287
|
+
* @returns %FALSE if not supported by the sink.
|
|
1288
|
+
*/
|
|
1289
|
+
set_render_rectangle(x: number, y: number, width: number, height: number): boolean
|
|
1290
|
+
/**
|
|
1291
|
+
* This will call the video overlay's set_xwindow_id method. You should
|
|
1292
|
+
* use this method to tell to a XOverlay to display video output to a
|
|
1293
|
+
* specific XWindow. Passing 0 as the xwindow_id will tell the overlay to
|
|
1294
|
+
* stop using that window and create an internal one.
|
|
1295
|
+
* @param xwindow_id a #XID referencing the XWindow.
|
|
1296
|
+
*/
|
|
1297
|
+
set_xwindow_id(xwindow_id: number): void
|
|
1298
|
+
|
|
1299
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.XOverlay
|
|
1300
|
+
|
|
1301
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1302
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1303
|
+
emit(sigName: string, ...args: any[]): void
|
|
1304
|
+
disconnect(id: number): void
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Opaque #GstXOverlay data structure.
|
|
1309
|
+
* @interface
|
|
1310
|
+
*/
|
|
1311
|
+
export class XOverlay extends GObject.Object {
|
|
1312
|
+
|
|
1313
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.XOverlay
|
|
1314
|
+
|
|
1315
|
+
static name: string
|
|
1316
|
+
static $gtype: GObject.GType<XOverlay>
|
|
1317
|
+
|
|
1318
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.XOverlay
|
|
1319
|
+
|
|
1320
|
+
constructor(config?: XOverlay.ConstructorProperties)
|
|
1321
|
+
_init(config?: XOverlay.ConstructorProperties): void
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export module ColorBalanceChannel {
|
|
1325
|
+
|
|
1326
|
+
// Signal callback interfaces
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Signal callback interface for `value-changed`
|
|
1330
|
+
*/
|
|
1331
|
+
export interface ValueChangedSignalCallback {
|
|
1332
|
+
($obj: ColorBalanceChannel, object: number): void
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
// Constructor properties interface
|
|
1337
|
+
|
|
1338
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
export interface ColorBalanceChannel {
|
|
1344
|
+
|
|
1345
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannel
|
|
1346
|
+
|
|
1347
|
+
parent: GObject.Object
|
|
1348
|
+
label: string | null
|
|
1349
|
+
min_value: number
|
|
1350
|
+
max_value: number
|
|
1351
|
+
|
|
1352
|
+
// Own signals of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannel
|
|
1353
|
+
|
|
1354
|
+
connect(sigName: "value-changed", callback: ColorBalanceChannel.ValueChangedSignalCallback): number
|
|
1355
|
+
connect_after(sigName: "value-changed", callback: ColorBalanceChannel.ValueChangedSignalCallback): number
|
|
1356
|
+
emit(sigName: "value-changed", object: number, ...args: any[]): void
|
|
1357
|
+
|
|
1358
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannel
|
|
1359
|
+
|
|
1360
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1361
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1362
|
+
emit(sigName: string, ...args: any[]): void
|
|
1363
|
+
disconnect(id: number): void
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
export class ColorBalanceChannel extends GObject.Object {
|
|
1367
|
+
|
|
1368
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannel
|
|
1369
|
+
|
|
1370
|
+
static name: string
|
|
1371
|
+
static $gtype: GObject.GType<ColorBalanceChannel>
|
|
1372
|
+
|
|
1373
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannel
|
|
1374
|
+
|
|
1375
|
+
constructor(config?: ColorBalanceChannel.ConstructorProperties)
|
|
1376
|
+
_init(config?: ColorBalanceChannel.ConstructorProperties): void
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
export module MixerOptions {
|
|
1380
|
+
|
|
1381
|
+
// Constructor properties interface
|
|
1382
|
+
|
|
1383
|
+
export interface ConstructorProperties extends MixerTrack.ConstructorProperties {
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
export interface MixerOptions {
|
|
1389
|
+
|
|
1390
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.MixerOptions
|
|
1391
|
+
|
|
1392
|
+
parent: MixerTrack & GObject.Object
|
|
1393
|
+
values: any[]
|
|
1394
|
+
_gst_reserved: any[]
|
|
1395
|
+
|
|
1396
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.MixerOptions
|
|
1397
|
+
|
|
1398
|
+
connect(sigName: "notify::index", callback: (($obj: MixerOptions, pspec: GObject.ParamSpec) => void)): number
|
|
1399
|
+
connect_after(sigName: "notify::index", callback: (($obj: MixerOptions, pspec: GObject.ParamSpec) => void)): number
|
|
1400
|
+
emit(sigName: "notify::index", ...args: any[]): void
|
|
1401
|
+
connect(sigName: "notify::untranslated-label", callback: (($obj: MixerOptions, pspec: GObject.ParamSpec) => void)): number
|
|
1402
|
+
connect_after(sigName: "notify::untranslated-label", callback: (($obj: MixerOptions, pspec: GObject.ParamSpec) => void)): number
|
|
1403
|
+
emit(sigName: "notify::untranslated-label", ...args: any[]): void
|
|
1404
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1405
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1406
|
+
emit(sigName: string, ...args: any[]): void
|
|
1407
|
+
disconnect(id: number): void
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
export class MixerOptions extends MixerTrack {
|
|
1411
|
+
|
|
1412
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.MixerOptions
|
|
1413
|
+
|
|
1414
|
+
static name: string
|
|
1415
|
+
static $gtype: GObject.GType<MixerOptions>
|
|
1416
|
+
|
|
1417
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.MixerOptions
|
|
1418
|
+
|
|
1419
|
+
constructor(config?: MixerOptions.ConstructorProperties)
|
|
1420
|
+
_init(config?: MixerOptions.ConstructorProperties): void
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
export module MixerTrack {
|
|
1424
|
+
|
|
1425
|
+
// Constructor properties interface
|
|
1426
|
+
|
|
1427
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
1428
|
+
|
|
1429
|
+
// Own constructor properties of GstInterfaces-0.10.GstInterfaces.MixerTrack
|
|
1430
|
+
|
|
1431
|
+
index?: number | null
|
|
1432
|
+
untranslated_label?: string | null
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
export interface MixerTrack {
|
|
1438
|
+
|
|
1439
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.MixerTrack
|
|
1440
|
+
|
|
1441
|
+
readonly index: number
|
|
1442
|
+
readonly untranslated_label: string
|
|
1443
|
+
|
|
1444
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.MixerTrack
|
|
1445
|
+
|
|
1446
|
+
parent: GObject.Object
|
|
1447
|
+
label: string | null
|
|
1448
|
+
flags: MixerTrackFlags
|
|
1449
|
+
num_channels: number
|
|
1450
|
+
min_volume: number
|
|
1451
|
+
max_volume: number
|
|
1452
|
+
|
|
1453
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.MixerTrack
|
|
1454
|
+
|
|
1455
|
+
connect(sigName: "notify::index", callback: (($obj: MixerTrack, pspec: GObject.ParamSpec) => void)): number
|
|
1456
|
+
connect_after(sigName: "notify::index", callback: (($obj: MixerTrack, pspec: GObject.ParamSpec) => void)): number
|
|
1457
|
+
emit(sigName: "notify::index", ...args: any[]): void
|
|
1458
|
+
connect(sigName: "notify::untranslated-label", callback: (($obj: MixerTrack, pspec: GObject.ParamSpec) => void)): number
|
|
1459
|
+
connect_after(sigName: "notify::untranslated-label", callback: (($obj: MixerTrack, pspec: GObject.ParamSpec) => void)): number
|
|
1460
|
+
emit(sigName: "notify::untranslated-label", ...args: any[]): void
|
|
1461
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1462
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1463
|
+
emit(sigName: string, ...args: any[]): void
|
|
1464
|
+
disconnect(id: number): void
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
export class MixerTrack extends GObject.Object {
|
|
1468
|
+
|
|
1469
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.MixerTrack
|
|
1470
|
+
|
|
1471
|
+
static name: string
|
|
1472
|
+
static $gtype: GObject.GType<MixerTrack>
|
|
1473
|
+
|
|
1474
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.MixerTrack
|
|
1475
|
+
|
|
1476
|
+
constructor(config?: MixerTrack.ConstructorProperties)
|
|
1477
|
+
_init(config?: MixerTrack.ConstructorProperties): void
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
export module TunerChannel {
|
|
1481
|
+
|
|
1482
|
+
// Signal callback interfaces
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Signal callback interface for `frequency-changed`
|
|
1486
|
+
*/
|
|
1487
|
+
export interface FrequencyChangedSignalCallback {
|
|
1488
|
+
($obj: TunerChannel, object: number): void
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Signal callback interface for `signal-changed`
|
|
1493
|
+
*/
|
|
1494
|
+
export interface SignalChangedSignalCallback {
|
|
1495
|
+
($obj: TunerChannel, object: number): void
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
// Constructor properties interface
|
|
1500
|
+
|
|
1501
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export interface TunerChannel {
|
|
1507
|
+
|
|
1508
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.TunerChannel
|
|
1509
|
+
|
|
1510
|
+
parent: GObject.Object
|
|
1511
|
+
label: string | null
|
|
1512
|
+
flags: TunerChannelFlags
|
|
1513
|
+
freq_multiplicator: number
|
|
1514
|
+
min_frequency: number
|
|
1515
|
+
max_frequency: number
|
|
1516
|
+
min_signal: number
|
|
1517
|
+
max_signal: number
|
|
1518
|
+
|
|
1519
|
+
// Own signals of GstInterfaces-0.10.GstInterfaces.TunerChannel
|
|
1520
|
+
|
|
1521
|
+
connect(sigName: "frequency-changed", callback: TunerChannel.FrequencyChangedSignalCallback): number
|
|
1522
|
+
connect_after(sigName: "frequency-changed", callback: TunerChannel.FrequencyChangedSignalCallback): number
|
|
1523
|
+
emit(sigName: "frequency-changed", object: number, ...args: any[]): void
|
|
1524
|
+
connect(sigName: "signal-changed", callback: TunerChannel.SignalChangedSignalCallback): number
|
|
1525
|
+
connect_after(sigName: "signal-changed", callback: TunerChannel.SignalChangedSignalCallback): number
|
|
1526
|
+
emit(sigName: "signal-changed", object: number, ...args: any[]): void
|
|
1527
|
+
|
|
1528
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.TunerChannel
|
|
1529
|
+
|
|
1530
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1531
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1532
|
+
emit(sigName: string, ...args: any[]): void
|
|
1533
|
+
disconnect(id: number): void
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
export class TunerChannel extends GObject.Object {
|
|
1537
|
+
|
|
1538
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.TunerChannel
|
|
1539
|
+
|
|
1540
|
+
static name: string
|
|
1541
|
+
static $gtype: GObject.GType<TunerChannel>
|
|
1542
|
+
|
|
1543
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.TunerChannel
|
|
1544
|
+
|
|
1545
|
+
constructor(config?: TunerChannel.ConstructorProperties)
|
|
1546
|
+
_init(config?: TunerChannel.ConstructorProperties): void
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
export module TunerNorm {
|
|
1550
|
+
|
|
1551
|
+
// Constructor properties interface
|
|
1552
|
+
|
|
1553
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
export interface TunerNorm {
|
|
1559
|
+
|
|
1560
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.TunerNorm
|
|
1561
|
+
|
|
1562
|
+
parent: GObject.Object
|
|
1563
|
+
label: string | null
|
|
1564
|
+
framerate: any
|
|
1565
|
+
|
|
1566
|
+
// Class property signals of GstInterfaces-0.10.GstInterfaces.TunerNorm
|
|
1567
|
+
|
|
1568
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
1569
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1570
|
+
emit(sigName: string, ...args: any[]): void
|
|
1571
|
+
disconnect(id: number): void
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
export class TunerNorm extends GObject.Object {
|
|
1575
|
+
|
|
1576
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.TunerNorm
|
|
1577
|
+
|
|
1578
|
+
static name: string
|
|
1579
|
+
static $gtype: GObject.GType<TunerNorm>
|
|
1580
|
+
|
|
1581
|
+
// Constructors of GstInterfaces-0.10.GstInterfaces.TunerNorm
|
|
1582
|
+
|
|
1583
|
+
constructor(config?: TunerNorm.ConstructorProperties)
|
|
1584
|
+
_init(config?: TunerNorm.ConstructorProperties): void
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
export interface ColorBalanceChannelClass {
|
|
1588
|
+
|
|
1589
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannelClass
|
|
1590
|
+
|
|
1591
|
+
parent: GObject.ObjectClass
|
|
1592
|
+
value_changed: (channel: ColorBalanceChannel, value: number) => void
|
|
1593
|
+
_gst_reserved: any[]
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
export abstract class ColorBalanceChannelClass {
|
|
1597
|
+
|
|
1598
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.ColorBalanceChannelClass
|
|
1599
|
+
|
|
1600
|
+
static name: string
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
export interface ColorBalanceClass {
|
|
1604
|
+
|
|
1605
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.ColorBalanceClass
|
|
1606
|
+
|
|
1607
|
+
klass: GObject.TypeInterface
|
|
1608
|
+
balance_type: ColorBalanceType
|
|
1609
|
+
list_channels: (balance: ColorBalance) => any[]
|
|
1610
|
+
set_value: (balance: ColorBalance, channel: ColorBalanceChannel, value: number) => void
|
|
1611
|
+
get_value: (balance: ColorBalance, channel: ColorBalanceChannel) => number
|
|
1612
|
+
value_changed: (balance: ColorBalance, channel: ColorBalanceChannel, value: number) => void
|
|
1613
|
+
_gst_reserved: any[]
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
export class ColorBalanceClass {
|
|
1617
|
+
|
|
1618
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.ColorBalanceClass
|
|
1619
|
+
|
|
1620
|
+
static name: string
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
export interface MixerClass {
|
|
1624
|
+
|
|
1625
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.MixerClass
|
|
1626
|
+
|
|
1627
|
+
klass: GObject.TypeInterface
|
|
1628
|
+
mixer_type: MixerType
|
|
1629
|
+
list_tracks: (mixer: Mixer) => any[]
|
|
1630
|
+
set_volume: (mixer: Mixer, track: MixerTrack, volumes: number) => void
|
|
1631
|
+
get_volume: (mixer: Mixer, track: MixerTrack, volumes: number) => void
|
|
1632
|
+
set_mute: (mixer: Mixer, track: MixerTrack, mute: boolean) => void
|
|
1633
|
+
set_record: (mixer: Mixer, track: MixerTrack, record: boolean) => void
|
|
1634
|
+
mute_toggled: (mixer: Mixer, channel: MixerTrack, mute: boolean) => void
|
|
1635
|
+
record_toggled: (mixer: Mixer, channel: MixerTrack, record: boolean) => void
|
|
1636
|
+
volume_changed: (mixer: Mixer, channel: MixerTrack, volumes: number) => void
|
|
1637
|
+
set_option: (mixer: Mixer, opts: MixerOptions, value: string | null) => void
|
|
1638
|
+
get_option: (mixer: Mixer, opts: MixerOptions) => string | null
|
|
1639
|
+
option_changed: (mixer: Mixer, opts: MixerOptions, option: string | null) => void
|
|
1640
|
+
get_mixer_flags: (mixer: Mixer) => MixerFlags
|
|
1641
|
+
_gst_reserved: any[]
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
export class MixerClass {
|
|
1645
|
+
|
|
1646
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.MixerClass
|
|
1647
|
+
|
|
1648
|
+
static name: string
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
export interface MixerOptionsClass {
|
|
1652
|
+
|
|
1653
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.MixerOptionsClass
|
|
1654
|
+
|
|
1655
|
+
parent: MixerTrackClass
|
|
1656
|
+
_gst_reserved: any[]
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
export abstract class MixerOptionsClass {
|
|
1660
|
+
|
|
1661
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.MixerOptionsClass
|
|
1662
|
+
|
|
1663
|
+
static name: string
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
export interface MixerTrackClass {
|
|
1667
|
+
|
|
1668
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.MixerTrackClass
|
|
1669
|
+
|
|
1670
|
+
parent: GObject.ObjectClass
|
|
1671
|
+
_gst_reserved: any[]
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
export abstract class MixerTrackClass {
|
|
1675
|
+
|
|
1676
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.MixerTrackClass
|
|
1677
|
+
|
|
1678
|
+
static name: string
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
export interface NavigationInterface {
|
|
1682
|
+
|
|
1683
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.NavigationInterface
|
|
1684
|
+
|
|
1685
|
+
g_iface: GObject.TypeInterface
|
|
1686
|
+
send_event: (navigation: Navigation, structure: Gst.Structure) => void
|
|
1687
|
+
_gst_reserved: any[]
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
export abstract class NavigationInterface {
|
|
1691
|
+
|
|
1692
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.NavigationInterface
|
|
1693
|
+
|
|
1694
|
+
static name: string
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
export interface PropertyProbeInterface {
|
|
1698
|
+
|
|
1699
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.PropertyProbeInterface
|
|
1700
|
+
|
|
1701
|
+
klass: GObject.TypeInterface
|
|
1702
|
+
probe_needed: (probe: PropertyProbe, pspec: GObject.ParamSpec) => void
|
|
1703
|
+
get_properties: (probe: PropertyProbe) => any[]
|
|
1704
|
+
needs_probe: (probe: PropertyProbe, prop_id: number, pspec: GObject.ParamSpec) => boolean
|
|
1705
|
+
probe_property: (probe: PropertyProbe, prop_id: number, pspec: GObject.ParamSpec) => void
|
|
1706
|
+
get_values: (probe: PropertyProbe, prop_id: number, pspec: GObject.ParamSpec) => GObject.ValueArray
|
|
1707
|
+
_gst_reserved: any[]
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* #GstPropertyProbe interface.
|
|
1712
|
+
* @record
|
|
1713
|
+
*/
|
|
1714
|
+
export abstract class PropertyProbeInterface {
|
|
1715
|
+
|
|
1716
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.PropertyProbeInterface
|
|
1717
|
+
|
|
1718
|
+
static name: string
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
export interface StreamVolumeInterface {
|
|
1722
|
+
|
|
1723
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.StreamVolumeInterface
|
|
1724
|
+
|
|
1725
|
+
parent: GObject.TypeInterface
|
|
1726
|
+
_gst_reserved: any[]
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
export abstract class StreamVolumeInterface {
|
|
1730
|
+
|
|
1731
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.StreamVolumeInterface
|
|
1732
|
+
|
|
1733
|
+
static name: string
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
export interface TunerChannelClass {
|
|
1737
|
+
|
|
1738
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.TunerChannelClass
|
|
1739
|
+
|
|
1740
|
+
parent: GObject.ObjectClass
|
|
1741
|
+
frequency_changed: (channel: TunerChannel, frequency: number) => void
|
|
1742
|
+
signal_changed: (channel: TunerChannel, signal: number) => void
|
|
1743
|
+
_gst_reserved: any[]
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
export abstract class TunerChannelClass {
|
|
1747
|
+
|
|
1748
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.TunerChannelClass
|
|
1749
|
+
|
|
1750
|
+
static name: string
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export interface TunerClass {
|
|
1754
|
+
|
|
1755
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.TunerClass
|
|
1756
|
+
|
|
1757
|
+
klass: GObject.TypeInterface
|
|
1758
|
+
list_channels: (tuner: Tuner) => any[]
|
|
1759
|
+
set_channel: (tuner: Tuner, channel: TunerChannel) => void
|
|
1760
|
+
list_norms: (tuner: Tuner) => any[]
|
|
1761
|
+
set_norm: (tuner: Tuner, norm: TunerNorm) => void
|
|
1762
|
+
set_frequency: (tuner: Tuner, channel: TunerChannel, frequency: number) => void
|
|
1763
|
+
get_frequency: (tuner: Tuner, channel: TunerChannel) => number
|
|
1764
|
+
signal_strength: (tuner: Tuner, channel: TunerChannel) => number
|
|
1765
|
+
channel_changed: (tuner: Tuner, channel: TunerChannel) => void
|
|
1766
|
+
norm_changed: (tuner: Tuner, norm: TunerNorm) => void
|
|
1767
|
+
frequency_changed: (tuner: Tuner, channel: TunerChannel, frequency: number) => void
|
|
1768
|
+
signal_changed: (tuner: Tuner, channel: TunerChannel, signal: number) => void
|
|
1769
|
+
_gst_reserved: any[]
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
export class TunerClass {
|
|
1773
|
+
|
|
1774
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.TunerClass
|
|
1775
|
+
|
|
1776
|
+
static name: string
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
export interface TunerNormClass {
|
|
1780
|
+
|
|
1781
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.TunerNormClass
|
|
1782
|
+
|
|
1783
|
+
parent: GObject.ObjectClass
|
|
1784
|
+
_gst_reserved: any[]
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
export abstract class TunerNormClass {
|
|
1788
|
+
|
|
1789
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.TunerNormClass
|
|
1790
|
+
|
|
1791
|
+
static name: string
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
export interface VideoOrientationInterface {
|
|
1795
|
+
|
|
1796
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.VideoOrientationInterface
|
|
1797
|
+
|
|
1798
|
+
parent: GObject.TypeInterface
|
|
1799
|
+
get_hflip: (video_orientation: VideoOrientation, flip: boolean) => boolean
|
|
1800
|
+
get_vflip: (video_orientation: VideoOrientation, flip: boolean) => boolean
|
|
1801
|
+
get_hcenter: (video_orientation: VideoOrientation, center: number) => boolean
|
|
1802
|
+
get_vcenter: (video_orientation: VideoOrientation, center: number) => boolean
|
|
1803
|
+
set_hflip: (video_orientation: VideoOrientation, flip: boolean) => boolean
|
|
1804
|
+
set_vflip: (video_orientation: VideoOrientation, flip: boolean) => boolean
|
|
1805
|
+
set_hcenter: (video_orientation: VideoOrientation, center: number) => boolean
|
|
1806
|
+
set_vcenter: (video_orientation: VideoOrientation, center: number) => boolean
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* #GstVideoOrientationInterface interface.
|
|
1811
|
+
* @record
|
|
1812
|
+
*/
|
|
1813
|
+
export abstract class VideoOrientationInterface {
|
|
1814
|
+
|
|
1815
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.VideoOrientationInterface
|
|
1816
|
+
|
|
1817
|
+
static name: string
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
export interface XOverlayClass {
|
|
1821
|
+
|
|
1822
|
+
// Own fields of GstInterfaces-0.10.GstInterfaces.XOverlayClass
|
|
1823
|
+
|
|
1824
|
+
klass: GObject.TypeInterface
|
|
1825
|
+
set_xwindow_id: (overlay: XOverlay, xwindow_id: number) => void
|
|
1826
|
+
expose: (overlay: XOverlay) => void
|
|
1827
|
+
handle_events: (overlay: XOverlay, handle_events: boolean) => void
|
|
1828
|
+
set_render_rectangle: (overlay: XOverlay, x: number, y: number, width: number, height: number) => void
|
|
1829
|
+
_gst_reserved: any[]
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* #GstXOverlay interface
|
|
1834
|
+
* @record
|
|
1835
|
+
*/
|
|
1836
|
+
export class XOverlayClass {
|
|
1837
|
+
|
|
1838
|
+
// Own properties of GstInterfaces-0.10.GstInterfaces.XOverlayClass
|
|
1839
|
+
|
|
1840
|
+
static name: string
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* Name of the imported GIR library
|
|
1845
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
1846
|
+
*/
|
|
1847
|
+
export const __name__: string
|
|
1848
|
+
/**
|
|
1849
|
+
* Version of the imported GIR library
|
|
1850
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
1851
|
+
*/
|
|
1852
|
+
export const __version__: string
|
|
1853
|
+
// END
|