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 PlaybackBuffers asynchronously to fill with audio samples for playback.

Required Methods§

source

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,

Implementations on Foreign Types§

source§

impl<'impl0, S: AsyncPlaybackBufferStream + ?Sized> AsyncPlaybackBufferStream for &'impl0 mut S

source§

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,

Implementors§