Struct fermium::audio::SDL_AudioStream [−][src]
#[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.