Struct rsynth::backend::combined::hound::HoundAudioReader [−][src]
Implementations
impl<'wr, S> HoundAudioReader<'wr, S> where
S: FromSample<f32> + FromSample<i32> + FromSample<i16>,
[src]
S: FromSample<f32> + FromSample<i32> + FromSample<i16>,
pub fn new<R: Read>(
reader: &'wr mut WavReader<R>
) -> Result<Self, HoundAudioError>
[src]
reader: &'wr mut WavReader<R>
) -> Result<Self, HoundAudioError>
Trait Implementations
impl<'wr, S> AudioReader<S> for HoundAudioReader<'wr, S> where
S: Copy + FromSample<f32> + FromSample<i32> + FromSample<i16>,
[src]
S: Copy + FromSample<f32> + FromSample<i32> + FromSample<i16>,
type Err = Error
The type of the error that occurs when reading data.
fn number_of_channels(&self) -> usize
[src]
fn frames_per_second(&self) -> u64
[src]
fn fill_buffer(
&mut self,
outputs: &mut AudioBufferOut<'_, '_, S>
) -> Result<usize, Self::Err>
[src]
&mut self,
outputs: &mut AudioBufferOut<'_, '_, S>
) -> Result<usize, Self::Err>
Auto Trait Implementations
impl<'wr, S> !RefUnwindSafe for HoundAudioReader<'wr, S>
impl<'wr, S> !Send for HoundAudioReader<'wr, S>
impl<'wr, S> !Sync for HoundAudioReader<'wr, S>
impl<'wr, S> Unpin for HoundAudioReader<'wr, S>
impl<'wr, S> !UnwindSafe for HoundAudioReader<'wr, S>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
T: FromSample<S> + ToSample<S>,
impl<T> From<T> for T
[src]
impl<S> FromSample<S> for S
pub fn from_sample_(s: S) -> S
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
U: FromSample<T>,
pub fn to_sample_(self) -> U
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.
pub 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>,