pub struct AudioProcessorSessionConfig {
pub processor_index: usize,
pub input_metadata: DecoderPcmFrameMetadata,
pub playback_policy: AudioPlaybackPolicy,
pub max_in_flight_frames: Option<u32>,
}Expand description
Configuration used to open one native audio processor session.
Fields§
§processor_index: usize§input_metadata: DecoderPcmFrameMetadata§playback_policy: AudioPlaybackPolicy§max_in_flight_frames: Option<u32>Trait Implementations§
Source§impl Clone for AudioProcessorSessionConfig
impl Clone for AudioProcessorSessionConfig
Source§fn clone(&self) -> AudioProcessorSessionConfig
fn clone(&self) -> AudioProcessorSessionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioProcessorSessionConfig
impl Debug for AudioProcessorSessionConfig
Source§impl<'de> Deserialize<'de> for AudioProcessorSessionConfig
impl<'de> Deserialize<'de> for AudioProcessorSessionConfig
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
impl StructuralPartialEq for AudioProcessorSessionConfig
Auto Trait Implementations§
impl Freeze for AudioProcessorSessionConfig
impl RefUnwindSafe for AudioProcessorSessionConfig
impl Send for AudioProcessorSessionConfig
impl Sync for AudioProcessorSessionConfig
impl Unpin for AudioProcessorSessionConfig
impl UnsafeUnpin for AudioProcessorSessionConfig
impl UnwindSafe for AudioProcessorSessionConfig
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