[beast/devel: 4/77] BSE: use Bse::binary_lookup* functions



commit 2a930f8e5598e69a914f22928876eb3d0078a6c2
Author: Tim Janik <timj gnu org>
Date:   Thu Mar 28 18:33:46 2013 +0000

    BSE: use Bse::binary_lookup* functions

 bse/bsenote.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bse/bsenote.cc b/bse/bsenote.cc
index 5b66ae0..74bd0ce 100644
--- a/bse/bsenote.cc
+++ b/bse/bsenote.cc
@@ -24,7 +24,7 @@ bse_note_from_freq (BseMusicalTuningType musical_tuning,
   const double *table = bse_semitone_table_from_tuning (musical_tuning);
   const double *start = table - 132;
   const double *end = table + 1 + 132;
-  const double *m = Birnet::binary_lookup_sibling (start, end, FreqCmp(), freq);
+  const double *m = Bse::binary_lookup_sibling (start, end, FreqCmp(), freq);
   if (m == end)
     return BSE_NOTE_VOID;
   /* improve from sibling to nearest */


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