cf_music_switch_to¶
Category: audio
GitHub: cute_audio.h
Switches from the currently playing music to another track.
Parameters | Description |
---|---|
fade_out_time | A number of seconds to fade the currently playing track out. Can be 0.0f to instantly stop your music. |
fade_in_time | A number of seconds to fade the next track in. Can be 0.0f to instantly play your music. |
Remarks¶
The currently playing track is faded out, then the second track is faded in.
Related Pages¶
cf_music_play
cf_music_stop
cf_music_set_volume
cf_music_set_loop
cf_music_pause
cf_music_resume
cf_music_set_pitch
cf_music_crossfade
cf_music_get_sample_index
cf_music_set_sample_index