pub trait PlayableStream: Send { // Required method fn play(&self); }
A thin wrapper around a CPAL [Stream] that allows it to be started through a trait object, enabling mocking in tests.
Stream
Starts playback/capture on the underlying stream.
Panics if the underlying CPAL stream returns an error when playing.