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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.