Struct web_audio_api::AudioProcessingEvent
source · #[non_exhaustive]pub struct AudioProcessingEvent {
pub input_buffer: AudioBuffer,
pub output_buffer: AudioBuffer,
pub playback_time: f64,
/* private fields */
}
Expand description
The AudioProcessingEvent interface
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.input_buffer: AudioBuffer
The input buffer
output_buffer: AudioBuffer
The output buffer
playback_time: f64
The time when the audio will be played in the same time coordinate system as the AudioContext’s currentTime.
Trait Implementations§
source§impl Debug for AudioProcessingEvent
impl Debug for AudioProcessingEvent
Auto Trait Implementations§
impl Freeze for AudioProcessingEvent
impl RefUnwindSafe for AudioProcessingEvent
impl Send for AudioProcessingEvent
impl Sync for AudioProcessingEvent
impl Unpin for AudioProcessingEvent
impl UnwindSafe for AudioProcessingEvent
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
Mutably borrows from an owned value. Read more