2019-12-18 13:41:11 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
2021-04-01 13:58:41 +00:00
|
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
2019-12-18 13:41:11 +00:00
|
|
|
// DO NOT EDIT
|
|
|
|
|
2020-11-21 18:17:37 +00:00
|
|
|
use crate::AudioBaseSrc;
|
2019-12-18 13:41:11 +00:00
|
|
|
|
2020-12-17 22:34:53 +00:00
|
|
|
glib::wrapper! {
|
2021-06-02 07:47:51 +00:00
|
|
|
#[doc(alias = "GstAudioSrc")]
|
2020-11-21 18:17:37 +00:00
|
|
|
pub struct AudioSrc(Object<ffi::GstAudioSrc, ffi::GstAudioSrcClass>) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object;
|
2019-12-18 13:41:11 +00:00
|
|
|
|
|
|
|
match fn {
|
2021-04-19 19:55:01 +00:00
|
|
|
type_ => || ffi::gst_audio_src_get_type(),
|
2019-12-18 13:41:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-03 17:28:46 +00:00
|
|
|
impl AudioSrc {
|
|
|
|
pub const NONE: Option<&'static AudioSrc> = None;
|
|
|
|
}
|
2021-11-16 14:02:58 +00:00
|
|
|
|
|
|
|
unsafe impl Send for AudioSrc {}
|
|
|
|
unsafe impl Sync for AudioSrc {}
|