rust_widgets 2.3.1

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 60+ widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT

//! Audio module — format detection, decoding, encoding, sample processing, and normalization.
//!
//! # Reachability
//!
//! **State:** Reserved: a complete audio subsystem with no production consumer and no example. Build it only under `--features audio`. Removal condition: when no audio backend is planned, or when a consumer wires it to a playback pipeline.

pub mod decoder;
pub mod encoder;
pub mod engine;
pub mod format;
pub mod normalize;
pub mod resample;
pub mod samples;

#[cfg(feature = "video-codecs")]
pub mod ffmpeg_encoder;

#[cfg(feature = "audio-output")]
pub mod output;

pub use decoder::{decode, detect_audio_format};
pub use encoder::encode;
pub use engine::AudioEngine;
pub use format::AudioFormat;
pub use normalize::normalize;
pub use resample::resample;
pub use samples::AudioBuffer;

#[cfg(feature = "video-codecs")]
pub use ffmpeg_encoder::ffmpeg_encode;

#[cfg(feature = "audio-output")]
pub use output::AudioOutput;