Trait Audio Aggregator Impl
Source pub trait AudioAggregatorImpl: AggregatorImpl + ObjectSubclass<Type: IsA<AudioAggregator>> {
// Provided methods
fn create_output_buffer(&self, num_frames: u32) -> Option<Buffer> { ... }
fn aggregate_one_buffer(
&self,
pad: &AudioAggregatorPad,
inbuf: &BufferRef,
in_offset: u32,
outbuf: &mut BufferRef,
out_offset: u32,
num_frames: u32,
) -> bool { ... }
}Provided Methods§
Sourcefn create_output_buffer(&self, num_frames: u32) -> Option<Buffer>
fn create_output_buffer(&self, num_frames: u32) -> Option<Buffer>
Create a new output buffer contains num_frames frames.
Sourcefn aggregate_one_buffer(
&self,
pad: &AudioAggregatorPad,
inbuf: &BufferRef,
in_offset: u32,
outbuf: &mut BufferRef,
out_offset: u32,
num_frames: u32,
) -> bool
fn aggregate_one_buffer( &self, pad: &AudioAggregatorPad, inbuf: &BufferRef, in_offset: u32, outbuf: &mut BufferRef, out_offset: u32, num_frames: u32, ) -> bool
Aggregates one input buffer to the output buffer. The in_offset and out_offset are in “frames”, which is the size of a sample times the number of channels. Returns TRUE if any non-silence was added to the buffer
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".