#![forbid(unsafe_code)]
pub mod audio {
pub use kithara_audio::*;
}
pub mod bufpool {
pub use kithara_bufpool::*;
}
pub mod decode {
pub use kithara_decode::*;
}
pub mod events {
pub use kithara_events::*;
}
pub mod platform {
pub use kithara_platform::*;
}
pub mod play {
pub use kithara_play::*;
}
pub mod stream {
pub use kithara_stream::*;
}
#[cfg(feature = "file")]
pub mod file {
pub use kithara_file::*;
}
#[cfg(feature = "hls")]
pub mod abr {
pub use kithara_abr::*;
}
#[cfg(feature = "hls")]
pub mod drm {
pub use kithara_drm::*;
}
#[cfg(feature = "hls")]
pub mod hls {
pub use kithara_hls::*;
}
#[cfg(any(feature = "file", feature = "hls", feature = "assets"))]
pub mod assets {
pub use kithara_assets::*;
}
#[cfg(any(feature = "file", feature = "hls", feature = "net"))]
pub mod net {
pub use kithara_net::*;
}
#[cfg(feature = "assets")]
pub mod storage {
pub use kithara_storage::*;
}
pub use kithara_test_macros::mock;
#[cfg(feature = "probe")]
pub use kithara_test_macros::{fixture, flash, test};
#[cfg(feature = "mock")]
pub mod mock {
pub use kithara_audio::mock::*;
pub use kithara_decode::mock::*;
pub use kithara_play::mock::*;
pub use kithara_stream::mock::*;
}
pub mod prelude {
#[cfg(feature = "hls")]
pub use kithara_abr::AbrMode;
#[cfg(all(
not(target_arch = "wasm32"),
any(feature = "stretch-signalsmith", feature = "stretch-bungee")
))]
pub use kithara_audio::StretchBackendKind;
pub use kithara_audio::{
Audio, AudioConfig, EngineLoadSnapshot, PcmReader, ResamplerQuality, StretchControls,
};
pub use kithara_decode::{
DecodeError, DecodeResult, DecoderTrackInfo, PcmMeta, PcmSpec, TrackMetadata,
};
#[cfg(feature = "hls")]
pub use kithara_events::HlsEvent;
pub use kithara_events::{AudioEvent, BusScope, Event, EventBus, EventReceiver, FileEvent};
#[cfg(feature = "file")]
pub use kithara_file::{File, FileConfig};
#[cfg(feature = "hls")]
pub use kithara_hls::{Hls, HlsConfig};
pub use kithara_play::{
AudioWorkerHandle, EngineConfig, EngineImpl, PlayerConfig, PlayerImpl, Resource,
ResourceConfig, ResourceSrc, ServiceClass, SourceType,
};
pub use kithara_stream::{AudioCodec, ContainerFormat, MediaInfo, Stream, StreamType};
}