Function Music.fadeIn
Wraps Mix_FadeInMusicPos which plays the Music with a fade-in effect
void fadeIn
(
uint loops = 1u,
uint fadeMs = 0u,
double position = 0.0
) @trusted const;
Parameters
| Name | Description |
|---|---|
| loops | how many times the chunk should be played (cast(uint) -1 for infinity) |
| fadeMs | number of milliseconds the chunk fades in before fully playing at full volume |
| position | start timestamp of the music in seconds |
Throws
dsdl if failed to play the music