2017-10-05 15:07:52 +00:00
|
|
|
// Copyright (C) 2017 Sebastian Dröge <sebastian@centricular.com>
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
|
|
|
#![crate_type = "cdylib"]
|
|
|
|
|
|
|
|
extern crate byte_slice_cast;
|
|
|
|
extern crate glib;
|
2018-05-01 14:43:52 +00:00
|
|
|
extern crate gobject_subclass;
|
2017-10-05 15:07:52 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate gst_plugin;
|
2018-01-18 16:54:15 +00:00
|
|
|
#[macro_use]
|
2017-10-05 15:07:52 +00:00
|
|
|
extern crate gstreamer as gst;
|
|
|
|
extern crate gstreamer_audio as gst_audio;
|
|
|
|
extern crate gstreamer_base as gst_base;
|
|
|
|
extern crate num_traits;
|
|
|
|
|
|
|
|
mod audioecho;
|
|
|
|
|
2018-11-04 18:46:07 +00:00
|
|
|
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|
|
|
audioecho::register(plugin)
|
2017-10-05 15:07:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
plugin_define!(
|
|
|
|
b"rsaudiofx\0",
|
|
|
|
b"Rust AudioFx Plugin\0",
|
|
|
|
plugin_init,
|
|
|
|
b"1.0\0",
|
|
|
|
b"MIT/X11\0",
|
|
|
|
b"rsaudiofx\0",
|
|
|
|
b"rsaudiofx\0",
|
2018-11-26 10:52:09 +00:00
|
|
|
b"https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs\0",
|
2017-10-05 15:07:52 +00:00
|
|
|
b"2016-12-08\0"
|
|
|
|
);
|