File tree Expand file tree Collapse file tree
src/playlist/api/projectM-4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ typedef void (*projectm_playlist_preset_switch_failed_event)(const char* preset_
7676 * letting the playlist library load presets from the filesystem. This is useful for:
7777 * - Loading presets from archives (e.g., ZIP files)
7878 * - Loading presets from network sources (e.g., HTTP)
79- * - Asynchronous preset loading
8079 * - Custom preset storage solutions
8180 *
8281 * When this callback is set and returns true, the playlist library will NOT attempt
@@ -86,6 +85,9 @@ typedef void (*projectm_playlist_preset_switch_failed_event)(const char* preset_
8685 * - Handling any loading errors
8786 * - Firing the preset_switched_event callback when the preset is ready (if desired)
8887 *
88+ * Note: If implementing asynchronous loading, the application must complete the load and
89+ * fire the preset_switched_event callback itself after the async operation completes.
90+ *
8991 * If the callback returns false or is not set, the playlist library will use the
9092 * default behavior of loading the preset from the filesystem.
9193 *
You can’t perform that action at this time.
0 commit comments