[beast/devel: 8/16] BSE: remove FBlock parasite accessors



commit f2971cd76c55bb7edd7d9eeafd3871ad6bc4758a
Author: Tim Janik <timj gnu org>
Date:   Wed Dec 26 22:44:50 2012 +0100

    BSE: remove FBlock parasite accessors

 bse/bseitem.proc |   39 ---------------------------------------
 1 files changed, 0 insertions(+), 39 deletions(-)
---
diff --git a/bse/bseitem.proc b/bse/bseitem.proc
index b2a6e58..1771bec 100644
--- a/bse/bseitem.proc
+++ b/bse/bseitem.proc
@@ -573,42 +573,3 @@ METHOD (BseItem, redo-depth) {
   sfi_value_set_int (out_values++, depth);
   return BSE_ERROR_NONE;
 }
-METHOD (BseItem, fixme-set-parasite) {
-  IN    = bse_param_spec_object ("item", NULL, NULL,
-				 BSE_TYPE_ITEM, SFI_PARAM_STANDARD);
-  IN    = sfi_pspec_string ("name", NULL, NULL, NULL, SFI_PARAM_STANDARD);
-  IN    = sfi_pspec_fblock ("parasite", NULL, NULL, SFI_PARAM_STANDARD);
-} BODY (BseProcedureClass *proc,
-	const GValue      *in_values,
-	GValue            *out_values)
-{
-  /* extract parameter values */
-  BseItem *self = (BseItem*) bse_value_get_object (in_values++);
-  const gchar *name = sfi_value_get_string (in_values++);
-  SfiFBlock *fblock = sfi_value_get_fblock (in_values++);
-  /* check parameters */
-  if (!BSE_IS_ITEM (self) || !name || !fblock)
-    return BSE_ERROR_PROC_PARAM_INVAL;
-  /* action */
-  bse_parasite_set_floats (BSE_OBJECT (self), name, fblock->n_values, fblock->values);
-  return BSE_ERROR_NONE;
-}
-METHOD (BseItem, fixme-get-parasite) {
-  IN    = bse_param_spec_object ("item", NULL, NULL,
-				 BSE_TYPE_ITEM, SFI_PARAM_STANDARD);
-  IN    = sfi_pspec_string ("name", NULL, NULL, NULL, SFI_PARAM_STANDARD);
-  OUT   = sfi_pspec_fblock ("parasite", NULL, NULL, SFI_PARAM_STANDARD);
-} BODY (BseProcedureClass *proc,
-	const GValue      *in_values,
-	GValue            *out_values)
-{
-  /* extract parameter values */
-  BseItem *self = (BseItem*) bse_value_get_object (in_values++);
-  const gchar *name = sfi_value_get_string (in_values++);
-  /* check parameters */
-  if (!BSE_IS_ITEM (self) || !name)
-    return BSE_ERROR_PROC_PARAM_INVAL;
-  /* set output parameters */
-  sfi_value_take_fblock (out_values++, bse_parasite_get_floats (BSE_OBJECT (self), name));
-  return BSE_ERROR_NONE;
-}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]