rodio::source

Type Alias Crossfade

Source
pub type Crossfade<I1, I2> = Mix<TakeDuration<I1>, FadeIn<TakeDuration<I2>>>;
Expand description

Mixes one sound fading out with another sound fading in for the given duration.

Only the crossfaded portion (beginning of fadeout, beginning of fadein) is covered.

Aliased Typeยง

struct Crossfade<I1, I2> { /* private fields */ }