devela::_dep::rodio::source

Type Alias Crossfade

pub type Crossfade<I1, I2> = Mix<TakeDuration<I1>, FadeIn<TakeDuration<I2>>>;
Available on crate feature dep_rodio only.
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 */ }