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, starting where the previous one ended, at sample zero of the output; None once the export’s audio is 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§