[−][src]Struct bs1770::Windows100ms
A T
value for non-overlapping windows of audio, 100ms in length.
The ChannelLoudnessMeter
applies K-weighting and then produces the power
for non-overlapping windows of 100ms duration.
These non-overlapping 100ms windows can later be combined into overlapping windows of 400ms, spaced 100ms apart, to compute instantaneous loudness or to perform a gated measurement, or they can be combined into even larger windows for a momentary loudness measurement.
Fields
inner: T
Implementations
impl<T> Windows100ms<T>
[src]
pub fn new() -> Windows100ms<Vec<T>>
[src]
Wrap a new empty vector.
pub fn as_ref(&self) -> Windows100ms<&[Power]> where
T: AsRef<[Power]>,
[src]
T: AsRef<[Power]>,
Apply as_ref
to the inner value.
pub fn as_mut(&mut self) -> Windows100ms<&mut [Power]> where
T: AsMut<[Power]>,
[src]
T: AsMut<[Power]>,
Apply as_mut
to the inner value.
pub fn len(&self) -> usize where
T: AsRef<[Power]>,
[src]
T: AsRef<[Power]>,
Apply len
to the inner value.
Trait Implementations
impl<T: Clone> Clone for Windows100ms<T>
[src]
fn clone(&self) -> Windows100ms<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy> Copy for Windows100ms<T>
[src]
impl<T: Debug> Debug for Windows100ms<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Windows100ms<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Windows100ms<T> where
T: Send,
T: Send,
impl<T> Sync for Windows100ms<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Windows100ms<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Windows100ms<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,