//! The seam between the AirPlay session and the host's audio output.
//!
//! The library owns network → PCM (pairing, decrypt, decode, the queue and
//! its pause/flush gating); the host owns PCM → speaker. A host provides an
//! [`AudioSink`] and the library's playback thread feeds it interleaved
//! `i16` samples that should actually play — audio is withheld while paused
//! and pre-seek audio is dropped before it ever reaches the sink.
use Arc;
/// Where decoded audio goes. Implemented by the host (the receiver binary's
/// sink is ALSA), called from a dedicated library-managed playback thread.
/// Creates the sink for a stream, invoked at `SETUP` phase 2 with the
/// negotiated sample rate and channel count — once per stream.
pub type SinkFactory = ;