1#![warn(unreachable_pub)]
2
3#[cfg(target_endian = "big")]
4compile_error!(
5 "\t(╯°□°)╯︵ ┻━┻
6Big endian is currently not supported!
7Please create an issue if you need it."
8);
9
10use ezk::MediaType;
11
12#[macro_use]
13mod sample_format;
14mod channels;
15mod config;
16mod frame;
17mod sample_rate;
18mod sample_types;
19
20pub use channels::{ChannelPosition, Channels};
21pub use config::{RawAudioConfig, RawAudioConfigRange};
22pub use frame::RawAudioFrame;
23pub use sample_format::{Format, Samples, SamplesQueue};
24pub use sample_rate::SampleRate;
25pub use sample_types::{Sample, I24, U24};
26
27#[doc(hidden)]
28pub mod __private_macro_exports {
29 pub use crate::sample_types::{I24, U24};
30 pub use {f32, f64};
31 pub use {i16, i32, i64, i8};
32 pub use {u16, u32, u64, u8};
33}
34
35#[derive(Debug)]
36pub enum RawAudio {}
37
38impl MediaType for RawAudio {
39 type ConfigRange = RawAudioConfigRange;
40 type Config = RawAudioConfig;
41 type FrameData = RawAudioFrame;
42}