Skip to content

cf_music_crossfade

Category: audio
GitHub: cute_audio.h


Crossfades the currently playing track out with the next track in.

void cf_music_crossfade(CF_Audio audio_source, float cross_fade_time);
Parameters Description
cross_fade_time A number of seconds to crossfade to the next track. Can be 0.0f to instantly switch to the next track.

cf_music_play
cf_music_stop
cf_music_set_volume
cf_music_set_loop
cf_music_pause
cf_music_resume
cf_music_switch_to
cf_music_set_pitch
cf_music_get_sample_index
cf_music_set_sample_index