projectm_playlist_remove_preset

Function projectm_playlist_remove_preset 

Source
pub unsafe extern "C" fn projectm_playlist_remove_preset(
    instance: projectm_playlist_handle,
    index: u32,
) -> bool
Expand description

@brief Removes a single preset from the playlist at the specified position.

@param instance The playlist manager instance. @param index The preset index to remove. If it exceeds the playlist size, no preset will be removed. @return True if the preset was removed from the playlist, false if the index was out of range.