Struct web_audio_api::buffer::AudioBufferOptions [−][src]
pub struct AudioBufferOptions {
pub number_of_channels: usize,
pub length: usize,
pub sample_rate: SampleRate,
}
Expand description
Options for constructing an AudioBuffer
Fields
number_of_channels: usize
length: usize
sample_rate: SampleRate
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AudioBufferOptions
impl Send for AudioBufferOptions
impl Sync for AudioBufferOptions
impl Unpin for AudioBufferOptions
impl UnwindSafe for AudioBufferOptions
Blanket Implementations
Mutably borrows from an owned value. Read more