@brief Returns whether aspect ratio correction is enabled or not.
@param instance The projectM instance handle.
@return True if aspect ratio correction is enabled, false otherwise.
@brief Returns the minimum display time before a hard cut can happen.
@param instance The projectM instance handle.
@return The minimum number of seconds the preset will be displayed before a hard cut.
@brief Returns whether hard cuts are enabled or not.
@param instance The projectM instance handle.
@return True if hard cuts are enabled, false otherwise.
@brief Returns the per-pixel equation mesh size in units.
@param instance The projectM instance handle.
@param width The width of the mesh.
@param height The height of the mesh.
@brief Returns whether the current preset is locked or not.
@param instance The projectM instance handle.
@return True if the preset lock is enabled, false otherwise.
@brief Returns the time in seconds for a soft transition between two presets.
@param instance The projectM instance handle.
@return Time in seconds it takes to smoothly transition from one preset to another.
@brief Returns the current viewport size in pixels.
@param instance The projectM instance handle.
@param width Valid pointer to a size_t variable that will receive the window width value.
@param height Valid pointer to a size_t variable that will receive the window height value.
@brief Returns the current playlist position.
@param instance The playlist manager instance.
@return The current playlist position. If the playlist is empty, 0 will be returned.
@brief Returns the number of retries after failed preset switches.
@param instance The playlist manager instance.
@return The number of retries after failed preset switches.
@brief Retrieves the current state of shuffle mode.
@param instance The playlist manager instance.
@return True if shuffle mode is enabled, false otherwise.
@brief Returns the name of a preset at the given index in the current playlist.
@note Call projectm_playlist_free_string() when you’re done using the return value.
@note If you need to retrieve a major part of playlist filenames, use projectm_playlist_items()
instead.
@param instance The playlist manager instance.
@param index The index to retrieve the filename for.
@return The filename of the requested preset, or NULL if the index was out of bounds or the
playlist is empty.
@brief Sets the number of retries after failed preset switches.
@note Don’t set this value too high, as each retry is done recursively.
@param instance The playlist manager instance.
@param retry_count The number of retries after failed preset switches. Default is 5. Set to 0
to simply forward the failure event from projectM.
@brief Enable or disable shuffle mode.
@param instance The playlist manager instance.
@param shuffle True to enable random shuffling, false to play presets in playlist order.
@brief Returns the number of presets in the current playlist.
@param instance The playlist manager instance.
@return The number of presets in the current playlist.
@brief Sets the per-pixel equation mesh size in units.
Will internally be clamped to [8,300] in each axis. If any dimension is set to an odd value, it will be incremented by 1
so only multiples of two are used.
@param instance The projectM instance handle.
@param width The new width of the mesh.
@param height The new height of the mesh.
@brief Removes any additional touch waveforms under the given coordinates.
@param instance The projectM instance handle.
@param x The last known x touch coordinate.
@param y The last known y touch coordinate.
@brief Centers any waveforms under the coordinates to simulate dragging.
@param instance The projectM instance handle.
@param x The x coordinate of the drag.
@param y the y coordinate of the drag.
@param pressure The amount of pressure applied in a range from 0.0 to 1.0.