gstreamer_editing_services/auto/
audio_source.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6use crate::{ffi, Extractable, MetaContainer, Source, TimelineElement, TrackElement};
7
8glib::wrapper! {
9    /// ## Children Properties
10    ///
11    /// You can use the following children properties through the
12    /// `ges_track_element_set_child_property` and alike set of methods:
13    ///
14    /// - `gdouble` `volume`: volume factor, 1.0=100%.
15    /// - `gboolean` `mute`: mute channel.
16    ///
17    /// This is an Abstract Base Class, you cannot instantiate it.
18    ///
19    /// # Implements
20    ///
21    /// [`SourceExt`][trait@crate::prelude::SourceExt], [`TrackElementExt`][trait@crate::prelude::TrackElementExt], [`TimelineElementExt`][trait@crate::prelude::TimelineElementExt], [`trait@glib::ObjectExt`], [`ExtractableExt`][trait@crate::prelude::ExtractableExt], [`MetaContainerExt`][trait@crate::prelude::MetaContainerExt], [`TimelineElementExtManual`][trait@crate::prelude::TimelineElementExtManual]
22    #[doc(alias = "GESAudioSource")]
23    pub struct AudioSource(Object<ffi::GESAudioSource, ffi::GESAudioSourceClass>) @extends Source, TrackElement, TimelineElement, @implements Extractable, MetaContainer;
24
25    match fn {
26        type_ => || ffi::ges_audio_source_get_type(),
27    }
28}
29
30impl AudioSource {
31    pub const NONE: Option<&'static AudioSource> = None;
32}