ffmpeg_the_third/software/resampling/
mod.rs1pub mod flag;
2pub use self::flag::Flags;
3
4pub mod dither;
5pub use self::dither::Dither;
6
7pub mod engine;
8pub use self::engine::Engine;
9
10pub mod filter;
11pub use self::filter::Filter;
12
13pub mod delay;
14pub use self::delay::Delay;
15
16pub mod context;
17pub use self::context::Context;
18
19mod extensions;
20
21use crate::ffi::*;
22use crate::utils;
23
24pub fn version() -> u32 {
25 unsafe { swresample_version() }
26}
27
28pub fn configuration() -> &'static str {
29 unsafe { utils::str_from_c_ptr(swresample_configuration()) }
30}
31
32pub fn license() -> &'static str {
33 unsafe { utils::str_from_c_ptr(swresample_license()) }
34}