Expand description
Oto (音) — audio framework for pleme-io applications.
Shared audio primitives for music playback and voice communication:
AudioDevice/AudioDeviceProvider: output device enumeration and selectionPlayer/PlaybackState: playback state machine with transport controlsQueue/QueueManager: ordered playlist with repeat modesAudioCodec/AudioInfo: codec detection and audio metadataVoiceStream/VoiceState: voice capture/transmit state machinePlaybackBackend/MockBackend/Engine: the injectable audio-output and decode seam (peer ofAudioDeviceProvider) plus the headless engine wiring the purePlayerFSM to it. Enable thebackend-rodiofeature for [RodioBackend], the real rodio + symphonia implementation.
Re-exports§
pub use backend::Engine;pub use backend::MockBackend;pub use backend::PlaybackBackend;pub use backend::TickOutcome;pub use decoder::AudioCodec;pub use decoder::AudioInfo;pub use device::AudioDevice;pub use device::AudioDeviceProvider;pub use device::MockDeviceProvider;pub use error::OtoError;pub use player::PlaybackState;pub use player::Player;pub use queue::Queue;pub use queue::QueueManager;pub use queue::RepeatMode;pub use voice::VoiceState;pub use voice::VoiceStream;