2017-08-08 22:29:49 +00:00
|
|
|
[options]
|
2021-04-12 09:42:41 +00:00
|
|
|
girs_directories = ["../gir-files", "../gst-gir-files"]
|
2017-08-08 22:29:49 +00:00
|
|
|
library = "GstAudio"
|
|
|
|
version = "1.0"
|
2022-04-07 08:22:39 +00:00
|
|
|
min_cfg_version = "1.14"
|
2017-08-08 22:29:49 +00:00
|
|
|
work_mode = "normal"
|
|
|
|
concurrency = "send+sync"
|
|
|
|
generate_safety_asserts = true
|
2018-04-23 17:34:22 +00:00
|
|
|
single_version_file = true
|
2018-12-08 09:05:20 +00:00
|
|
|
generate_display_trait = false
|
2022-10-18 11:17:00 +00:00
|
|
|
trust_return_value_nullability = true
|
2017-08-08 22:29:49 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
|
|
|
"GLib",
|
|
|
|
"GObject",
|
|
|
|
"Gst",
|
2019-12-12 09:54:54 +00:00
|
|
|
"GstBase",
|
2017-08-08 22:29:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
2022-04-01 07:22:23 +00:00
|
|
|
"GstAudio.AudioAggregatorConvertPad",
|
|
|
|
"GstAudio.AudioAggregatorPad",
|
2021-12-03 16:14:55 +00:00
|
|
|
"GstAudio.AudioBaseSrc",
|
2021-02-09 15:35:26 +00:00
|
|
|
"GstAudio.AudioDitherMethod",
|
2022-12-13 16:10:05 +00:00
|
|
|
"GstAudio.AudioFilter",
|
2017-08-08 22:29:49 +00:00
|
|
|
"GstAudio.AudioFormatFlags",
|
|
|
|
"GstAudio.AudioLayout",
|
2021-12-03 16:14:55 +00:00
|
|
|
"GstAudio.AudioNoiseShapingMethod",
|
|
|
|
"GstAudio.AudioResamplerMethod",
|
2019-12-12 09:54:54 +00:00
|
|
|
"GstAudio.AudioSink",
|
2019-12-18 13:41:11 +00:00
|
|
|
"GstAudio.AudioSrc",
|
2021-12-03 16:14:55 +00:00
|
|
|
"GstAudio.StreamVolume",
|
|
|
|
"GstAudio.StreamVolumeFormat",
|
2017-08-08 22:29:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
|
|
|
"GObject.Object",
|
2019-09-13 19:51:10 +00:00
|
|
|
"Gst.AllocationParams",
|
2021-05-30 15:37:25 +00:00
|
|
|
"Gst.Allocator",
|
|
|
|
"Gst.ClockTimeDiff",
|
|
|
|
"Gst.Element",
|
|
|
|
"Gst.Format",
|
2019-09-13 19:51:10 +00:00
|
|
|
"Gst.TagList",
|
|
|
|
"Gst.TagMergeMode",
|
2023-01-23 10:40:47 +00:00
|
|
|
"GstAudio.AudioChannelPosition",
|
2021-05-30 15:41:22 +00:00
|
|
|
"GstAudio.AudioClippingMeta",
|
2017-08-08 22:29:49 +00:00
|
|
|
"GstAudio.AudioFormatInfo",
|
2021-05-30 15:41:22 +00:00
|
|
|
"GstAudio.AudioInfo",
|
2021-05-24 10:35:00 +00:00
|
|
|
"GstAudio.AudioLevelMeta",
|
2021-05-30 15:41:22 +00:00
|
|
|
"GstAudio.AudioMeta",
|
|
|
|
"GstAudio.AudioRingBufferSpec",
|
2022-04-01 07:22:23 +00:00
|
|
|
"GstBase.Aggregator",
|
|
|
|
"GstBase.AggregatorPad",
|
2021-12-03 16:14:55 +00:00
|
|
|
"GstBase.BaseSink",
|
|
|
|
"GstBase.BaseSrc",
|
2022-12-13 16:10:05 +00:00
|
|
|
"GstBase.BaseTransform",
|
2017-08-08 22:29:49 +00:00
|
|
|
]
|
|
|
|
|
2021-05-02 19:29:44 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Buffer"
|
2021-05-02 19:29:44 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
ref_mode = "ref"
|
2021-05-02 19:29:44 +00:00
|
|
|
|
2017-08-08 22:29:49 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Caps"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2019-09-13 19:51:10 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.ClockTime"
|
2019-09-13 19:51:10 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
conversion_type = "Option"
|
2019-09-13 19:51:10 +00:00
|
|
|
|
2023-01-03 19:08:39 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.FlowReturn"
|
|
|
|
status = "manual"
|
|
|
|
must_use = true
|
|
|
|
[object.conversion_type]
|
|
|
|
variant = "Result"
|
|
|
|
ok_type = "gst::FlowSuccess"
|
|
|
|
err_type = "gst::FlowError"
|
|
|
|
|
2018-03-15 08:03:01 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "Gst.Object"
|
|
|
|
# For renaming the trait...
|
2018-03-15 08:03:01 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
trait_name = "GstObjectExt"
|
2021-04-04 14:17:35 +00:00
|
|
|
|
2022-04-01 07:22:23 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioAggregator"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_sink_caps"
|
|
|
|
# capsref
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "output-buffer-duration-fraction"
|
|
|
|
# fraction
|
|
|
|
manual = true
|
|
|
|
|
2022-09-23 14:01:06 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "ignore-inactive-pads"
|
|
|
|
# getter/setter exists in base class
|
|
|
|
ignore = true
|
|
|
|
|
2022-11-21 10:31:12 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "force-live"
|
|
|
|
# getter/setter exists in base class
|
|
|
|
ignore = true
|
|
|
|
|
2021-04-04 14:17:35 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioBaseSink"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_alignment_threshold"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_discont_wait"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_alignment_threshold"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "alignment_threshold"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_discont_wait"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "discont_wait"
|
|
|
|
mandatory = true
|
2018-03-15 08:03:01 +00:00
|
|
|
|
2021-05-30 15:41:22 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioBuffer"
|
|
|
|
status = "manual"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "map"
|
|
|
|
# Readable and writable variant dealing with mutability
|
|
|
|
rename = "from_buffer_readable"
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioDecoder"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["AudioDecoderExtManual"]
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "min"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_min_latency"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_tolerance"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "negotiate"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "min"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_min_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "num"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_output_caps"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_output_format"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_tolerance"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "tolerance"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_allocator"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioEncoder"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["AudioEncoderExtManual"]
|
|
|
|
[[object.function]]
|
|
|
|
name = "negotiate"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_output_format"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_allocator"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "min"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_tolerance"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "min"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_tolerance"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "tolerance"
|
|
|
|
mandatory = true
|
|
|
|
|
2023-01-03 19:06:38 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "set_headers"
|
|
|
|
manual = true
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioFlags"
|
|
|
|
status = "generate"
|
|
|
|
[[object.member]]
|
|
|
|
name = "none"
|
|
|
|
ignore = true
|
|
|
|
|
2017-08-10 07:51:22 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioFormat"
|
|
|
|
status = "generate"
|
|
|
|
|
2020-06-05 09:57:29 +00:00
|
|
|
[[object.derive]]
|
|
|
|
name = "Debug, Eq, PartialEq, Hash"
|
|
|
|
|
2017-08-10 07:51:22 +00:00
|
|
|
[[object.member]]
|
|
|
|
name = "s16"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "u16"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "s24_32"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "u24_32"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "s32"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "u32"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "s24"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "u24"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "s20"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "u20"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "s18"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "u18"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "f32"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2017-08-10 07:51:22 +00:00
|
|
|
|
|
|
|
[[object.member]]
|
|
|
|
name = "f64"
|
|
|
|
# Platform dependant
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2018-03-15 08:03:01 +00:00
|
|
|
|
2020-11-26 20:26:50 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "to_string"
|
2020-11-28 00:05:12 +00:00
|
|
|
# This has an Unknown field that may return NULL or "UNKNOWN"
|
|
|
|
manual = true
|
2020-11-26 20:26:50 +00:00
|
|
|
|
2020-11-15 14:42:27 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "fill_silence"
|
|
|
|
# Function does not belong in AudioFormat but AudioFormatInfo.
|
|
|
|
# Manual implementation is available, and glib argument conversion
|
|
|
|
# is broken.
|
|
|
|
manual = true
|
|
|
|
|
2020-12-05 19:21:03 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_info"
|
|
|
|
# Result is not nullable, function does effectively the same
|
|
|
|
# as AudioFormatInfo::from_format()
|
|
|
|
ignore = true
|
|
|
|
|
2020-12-06 10:45:48 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "build_integer"
|
|
|
|
# Use custom AudioEndianness enum
|
|
|
|
manual = true
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioPackFlags"
|
|
|
|
status = "generate"
|
|
|
|
[[object.member]]
|
|
|
|
name = "none"
|
|
|
|
ignore = true
|
|
|
|
|
2023-07-04 14:20:08 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioRingBufferFormatType"
|
|
|
|
status = "generate"
|
|
|
|
[[object.member]]
|
|
|
|
name = "dsd"
|
|
|
|
version = "1.24"
|
|
|
|
|
2018-03-15 08:03:01 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstAudio.AudioStreamAlign"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "process"
|
|
|
|
# bool does not signal error
|
2020-11-04 17:29:13 +00:00
|
|
|
manual = true
|
2019-09-13 19:51:10 +00:00
|
|
|
|
2021-04-04 14:17:35 +00:00
|
|
|
[[object.function]]
|
|
|
|
pattern = "get_.*"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "align"
|
|
|
|
const = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "alignment_threshold"
|
|
|
|
mandatory = true
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "discont_wait"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_alignment_threshold"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_discont_wait"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_alignment_threshold"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "alignment_threshold"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_discont_wait"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "discont_wait"
|
|
|
|
mandatory = true
|