[beast/devel] BSE: cleanups and fix typos in bse sources



commit 3ae455cf585b72961e21e991d6fbdee01141afe5
Author: Stefan Westerfeld <stefan space twc de>
Date:   Mon Nov 8 22:58:01 2010 +0100

    BSE: cleanups and fix typos in bse sources

 bse/bseconstant.cc   |    5 -----
 bse/bseitem.cc       |    2 +-
 bse/bsemathsignal.cc |    2 +-
 bse/bseserver.cc     |    2 +-
 bse/bsesource.cc     |    2 +-
 5 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/bse/bseconstant.cc b/bse/bseconstant.cc
index c259483..af48c58 100644
--- a/bse/bseconstant.cc
+++ b/bse/bseconstant.cc
@@ -216,11 +216,6 @@ bse_constant_update_modules (BseConstant *constant,
                               sizeof (constant->constants),
                               trans);
 }
-typedef struct {
-  guint  index;
-  guint  n_values;
-  gfloat constants[BSE_CONSTANT_N_OUTPUTS];
-} FlowAccessData;
 static void
 constant_process (BseModule *module,
                  guint      n_values)
diff --git a/bse/bseitem.cc b/bse/bseitem.cc
index 40dd438..3fc33e3 100644
--- a/bse/bseitem.cc
+++ b/bse/bseitem.cc
@@ -270,7 +270,7 @@ gather_child (BseItem *child,
  * @param data         @a data pointer to @a ccheck and @a pcheck
  * @return             returns @a items
  *
- * This function gathers items from an object hirachy, walking upwards,
+ * This function gathers items from an object hierachy, walking upwards,
  * starting out with @a item. For each container passing @a ccheck(), all
  * immediate children are tested for addition with @a pcheck.
  */
diff --git a/bse/bsemathsignal.cc b/bse/bsemathsignal.cc
index 1f40cf3..87701b2 100644
--- a/bse/bsemathsignal.cc
+++ b/bse/bsemathsignal.cc
@@ -100,7 +100,7 @@ bse_window_hamming (double x)       /* sharp (rectangle) cutoffs at boundaries */
   return 0.54 + 0.46 * cos (PI * x);
 }
 double
-bse_window_sinc (double x)     /* noramlied C. Lanczos window */
+bse_window_sinc (double x)     /* normalized C. Lanczos window */
 {
   if (fabs (x) > 1)
     return 0;
diff --git a/bse/bseserver.cc b/bse/bseserver.cc
index 547233a..7dcd4ea 100644
--- a/bse/bseserver.cc
+++ b/bse/bseserver.cc
@@ -467,7 +467,7 @@ server_open_midi_device (BseServer *server)
       if (server->midi_device)
         sfi_msg_display (SFI_MSG_WARNING,
                          SFI_MSG_TITLE ("%s", _("No MIDI")),
-                         SFI_MSG_TEXT1 ("%s", _("MIDI input or oputput is not available.")),
+                         SFI_MSG_TEXT1 ("%s", _("MIDI input or output is not available.")),
                          SFI_MSG_TEXT2 ("%s", _("No available MIDI device could be found and opened 
successfully. "
                                                 "Reverting to null device, no MIDI events will be received 
or sent.")),
                          SFI_MSG_TEXT3 (_("Failed to open MIDI devices: %s"), bse_error_blurb (error)),
diff --git a/bse/bsesource.cc b/bse/bsesource.cc
index 71fc3be..ed4c97c 100644
--- a/bse/bsesource.cc
+++ b/bse/bsesource.cc
@@ -350,7 +350,7 @@ bse_source_prepare (BseSource *source)
   g_object_freeze_notify (G_OBJECT (source));
   source_class_collect_properties (BSE_SOURCE_GET_CLASS (source));
   source->contexts = g_bsearch_array_create (&context_config);
-  BSE_OBJECT_SET_FLAGS (source, BSE_SOURCE_FLAG_PREPARED);      /* guard properties from _before_ preapre() 
*/
+  BSE_OBJECT_SET_FLAGS (source, BSE_SOURCE_FLAG_PREPARED);      /* guard properties from _before_ prepare() 
*/
   BSE_SOURCE_GET_CLASS (source)->prepare (source);
   source_notify_properties (source);
   g_object_thaw_notify (G_OBJECT (source));


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