pub trait AsyncPlaybackBufferStream: Send {
// Required method
fn next_playback_buffer<'a, 'life0, 'async_trait>(
&'a mut self,
_ex: &'life0 dyn AudioStreamsExecutor
) -> Pin<Box<dyn Future<Output = Result<AsyncPlaybackBuffer<'a>, BoxError>> + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Expand description
PlaybackBufferStream
provides PlaybackBuffer
s asynchronously to fill with audio samples for
playback.