Struct aws_sdk_mediaconvert::types::WavSettings
source · #[non_exhaustive]pub struct WavSettings {
pub bit_depth: Option<i32>,
pub channels: Option<i32>,
pub format: Option<WavFormat>,
pub sample_rate: Option<i32>,
}
Expand description
Required when you set Codec to the value WAV.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bit_depth: Option<i32>
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
channels: Option<i32>
Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
format: Option<WavFormat>
The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64.
sample_rate: Option<i32>
Sample rate in Hz.
Implementations§
source§impl WavSettings
impl WavSettings
sourcepub fn bit_depth(&self) -> Option<i32>
pub fn bit_depth(&self) -> Option<i32>
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
sourcepub fn channels(&self) -> Option<i32>
pub fn channels(&self) -> Option<i32>
Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
sourcepub fn format(&self) -> Option<&WavFormat>
pub fn format(&self) -> Option<&WavFormat>
The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64.
sourcepub fn sample_rate(&self) -> Option<i32>
pub fn sample_rate(&self) -> Option<i32>
Sample rate in Hz.
source§impl WavSettings
impl WavSettings
sourcepub fn builder() -> WavSettingsBuilder
pub fn builder() -> WavSettingsBuilder
Creates a new builder-style object to manufacture WavSettings
.
Trait Implementations§
source§impl Clone for WavSettings
impl Clone for WavSettings
source§fn clone(&self) -> WavSettings
fn clone(&self) -> WavSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WavSettings
impl Debug for WavSettings
source§impl PartialEq for WavSettings
impl PartialEq for WavSettings
source§fn eq(&self, other: &WavSettings) -> bool
fn eq(&self, other: &WavSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WavSettings
Auto Trait Implementations§
impl Freeze for WavSettings
impl RefUnwindSafe for WavSettings
impl Send for WavSettings
impl Sync for WavSettings
impl Unpin for WavSettings
impl UnwindSafe for WavSettings
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more