Struct fermium::audio::SDL_AudioStream
source · #[repr(transparent)]pub struct SDL_AudioStream(_);
Expand description
SDL_AudioStream is a new audio conversion interface.
The benefits vs SDL_AudioCVT:
- it can handle re-sampling data in chunks without generating artifacts, when it doesn’t have the complete buffer available.
- it can handle incoming data in any variable size.
- You push data as you have it, and pull it when you need it.
Auto Trait Implementations§
impl RefUnwindSafe for SDL_AudioStream
impl Send for SDL_AudioStream
impl Sync for SDL_AudioStream
impl Unpin for SDL_AudioStream
impl UnwindSafe for SDL_AudioStream
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