Trait gstreamer_audio::subclass::prelude::AudioAggregatorImpl
source · pub trait AudioAggregatorImpl: AudioAggregatorImplExt + AggregatorImpl {
// 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
Object Safety§
This trait is not object safe.