Skip to main content

AudioBlockFeed

Trait AudioBlockFeed 

Source
pub trait AudioBlockFeed {
    // Required method
    fn next_block(&mut self) -> Result<Option<AudioBlock>, String>;
}
Expand description

The export’s mixed audio, block by block, for a copy that encodes it.

Required Methods§

Source

fn next_block(&mut self) -> Result<Option<AudioBlock>, String>

The next block, continuing from the previous one at output sample zero; None once complete.

§Errors

Says why the mix could not be produced.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§