1#![warn(clippy::all)]
27#![warn(clippy::pedantic)]
28
29pub mod audio;
30pub(crate) mod cache;
31pub mod error;
32pub mod event;
33pub mod playback;
34
35#[cfg(feature = "proxy")]
36pub mod proxy;
37
38#[cfg(feature = "timeline")]
39pub mod timeline;
40
41pub use audio::{AudioMixer, AudioTrackHandle};
42pub use error::PreviewError;
43pub use event::PlayerEvent;
44pub use ff_decode::HardwareAccel;
45pub use playback::{
46 DecodeBuffer, DecodeBufferBuilder, FrameResult, FrameSink, PlaybackClock, PlayerCommand,
47 PlayerHandle, PlayerRunner, PreviewPlayer, RgbaFrame, RgbaSink, SeekEvent,
48};
49
50#[cfg(feature = "tokio")]
51pub use playback::AsyncPreviewPlayer;
52
53#[cfg(feature = "proxy")]
54pub use proxy::{ProxyGenerator, ProxyJob, ProxyResolution};
55
56#[cfg(feature = "timeline")]
57pub use timeline::{TimelinePlayer, TimelineRunner};