pub fn with_frames<B: Into<Box<[F]>>, R: Into<f64>>(
        s_rate: R,
        frames: B,
    ) -> Self {
        let s_rate = s_rate.into();
        let frames: Vec<F> = frames.into().into();
        Audio {
            s_rate,
            frames: frames.into(),
        }
    }
/// Construct an `Audio` buffer with owned sample data.   You can get
/// ownership of the sample data back from the `Audio` buffer as either a
/// `Vec<S>` or a `Box<[S]>` by calling into().
Construct an `Audio` buffer with owned sample data.
Construct an ` Audio ` buffer with owned sample data .
pub fn with_frames<B: Into<Box<[F]>>, R: Into<f64>>(
        s_rate: R,
        frames: B,
    ) -> Self {
        let s_rate = s_rate.into();
        let frames: Vec<F> = frames.into().into();
        Audio {
            s_rate,
            frames: frames.into(),
        }
    }
pub fn with_frames < B : Into < Box < [ F ] > > , R : Into < f64 > > ( s_rate : R , frames : B , ) -> Self { let s_rate = s_rate . into ( ) ; let frames : Vec < F > = frames . into ( ) . into ( ) ; Audio { s_rate , frames : frames . into ( ) , } }
Construct an `Audio` buffer with owned sample data.
Construct an ` Audio ` buffer with owned sample data .
s_rate
R
frames
B
s_rate
R
frames
B