#![no_std]
extern crate alloc;
mod test_trace;
mod analysis;
pub mod bitdepth;
pub(crate) mod celt;
mod codec;
pub mod decoder;
#[cfg(feature = "deep_plc")]
mod dnn_utils;
#[cfg(feature = "dred")]
mod dnn_weights;
mod dred;
mod dred_constants;
#[cfg(feature = "dred")]
mod dred_encoder;
#[cfg(feature = "dred")]
mod dred_rdovae_dec;
#[cfg(feature = "dred")]
mod dred_rdovae_dec_data;
#[cfg(feature = "dred")]
mod dred_rdovae_enc;
#[cfg(feature = "dred")]
mod dred_rdovae_enc_data;
mod dred_stats_data;
mod extensions;
#[cfg(feature = "deep_plc")]
pub mod fargan;
#[cfg(feature = "dred")]
mod lpcnet_enc;
mod mapping_matrix;
mod math;
mod mlp;
mod mlp_data;
#[cfg(feature = "dred")]
mod nnet;
pub mod oggreader;
mod opus;
mod opus_decoder;
mod opus_encoder;
mod opus_multistream;
mod packet;
#[cfg(feature = "dred")]
mod pitchdnn;
#[cfg(feature = "dred")]
mod pitchdnn_data;
#[cfg(feature = "deep_plc")]
mod plc_model;
mod projection;
pub mod range;
mod repacketizer;
pub mod resample;
pub mod silk;
pub use crate::codec::{
Application, Bandwidth, Bitrate, Channels, Decoder, DecoderBuilder, DecoderBuilderError,
Encoder, EncoderBuilder, EncoderBuilderError, FrameDuration, Signal,
};
pub use crate::opus_decoder::{OpusDecodeError, OpusDecoderCtlError, OpusDecoderInitError};
pub use crate::opus_encoder::{OpusEncodeError, OpusEncoderCtlError, OpusEncoderInitError};
pub use crate::packet::PacketError;
pub mod celt_api {
pub use crate::celt::{
CeltDecodeError, CeltDecoderCtlError, CeltDecoderInitError, CeltEncodeError,
CeltEncoderCtlError, CeltEncoderInitError, DecoderCtlRequest, EncoderCtlRequest, ModeError,
OpusCustomDecoder, OpusCustomEncoder, OpusCustomMode, OwnedCeltDecoder, OwnedCeltEncoder,
OwnedOpusCustomMode, opus_custom_decode, opus_custom_decode_float, opus_custom_decode24,
opus_custom_decoder_create, opus_custom_decoder_ctl, opus_custom_decoder_get_size,
opus_custom_decoder_init, opus_custom_encode, opus_custom_encode_float,
opus_custom_encode24, opus_custom_encoder_create, opus_custom_encoder_ctl,
opus_custom_encoder_destroy, opus_custom_encoder_get_size, opus_custom_encoder_init,
opus_custom_encoder_init_arch, opus_custom_mode_create,
};
}
pub mod c_style_api {
pub mod dred {
pub use crate::dred::*;
}
pub mod extensions {
pub use crate::extensions::*;
}
pub mod mapping_matrix {
pub use crate::mapping_matrix::*;
}
pub mod opus {
pub use crate::opus::*;
}
pub mod opus_decoder {
pub use crate::opus_decoder::*;
}
pub mod opus_encoder {
pub use crate::opus_encoder::*;
}
pub mod opus_multistream {
pub use crate::opus_multistream::*;
}
pub mod packet {
pub use crate::packet::*;
}
pub mod projection {
pub use crate::projection::*;
}
pub mod repacketizer {
pub use crate::repacketizer::*;
}
}
#[must_use]
pub fn opus_get_version_string() -> &'static str {
crate::celt::opus_get_version_string()
}