Lines Matching refs:presets
177 if (!lv2->presets) { in gst_lv2_get_preset_names()
178 LilvNodes *presets; in gst_lv2_get_preset_names() local
180 if ((presets = in gst_lv2_get_preset_names()
185 lv2->presets = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, in gst_lv2_get_preset_names()
188 for (j = lilv_nodes_begin (presets); in gst_lv2_get_preset_names()
189 !lilv_nodes_is_end (presets, j); j = lilv_nodes_next (presets, j)) { in gst_lv2_get_preset_names()
190 const LilvNode *preset = lilv_nodes_get (presets, j); in gst_lv2_get_preset_names()
199 g_hash_table_insert (lv2->presets, in gst_lv2_get_preset_names()
208 lilv_nodes_free (presets); in gst_lv2_get_preset_names()
211 if (lv2->presets) { in gst_lv2_get_preset_names()
212 GList *node, *keys = g_hash_table_get_keys (lv2->presets); in gst_lv2_get_preset_names()
213 gchar **names = g_new0 (gchar *, g_hash_table_size (lv2->presets) + 1); in gst_lv2_get_preset_names()
259 LilvNode *preset = g_hash_table_lookup (lv2->presets, name); in gst_lv2_load_preset()
348 g_hash_table_insert (lv2->presets, g_strdup (name), in gst_lv2_save_preset()
381 LilvNode *preset = g_hash_table_lookup (lv2->presets, name); in gst_lv2_delete_preset()
389 g_hash_table_remove (lv2->presets, name); in gst_lv2_delete_preset()
411 if (lv2->presets) { in gst_lv2_finalize()
412 g_hash_table_destroy (lv2->presets); in gst_lv2_finalize()