pub struct Pipeline {
pub maximum_internal_processing_rate: PipelineProcessingRate,
pub multi_channel_render: bool,
pub multi_channel_capture: bool,
pub capture_downmix_method: DownmixMethod,
}Expand description
Sets the properties of the audio processing pipeline.
Fields§
§maximum_internal_processing_rate: PipelineProcessingRateMaximum allowed processing rate used internally.
multi_channel_render: boolAllow multi-channel processing of render audio.
multi_channel_capture: boolAllow multi-channel processing of capture audio when AEC3 is active or a custom AEC is injected.
capture_downmix_method: DownmixMethodIndicates how to downmix multi-channel capture audio to mono (when needed).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pipeline
impl<'de> Deserialize<'de> for Pipeline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Pipeline
impl JsonSchema for Pipeline
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl Copy for Pipeline
impl StructuralPartialEq for Pipeline
Auto Trait Implementations§
impl Freeze for Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnsafeUnpin for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more