[beast/devel: 6/28] BSE: FLAC: rename read() method to read_samples()



commit 2e89e18f0d191388e0e3e2d5f9ae0ee6974069b9
Author: Stefan Westerfeld <stefan space twc de>
Date:   Fri Mar 8 14:31:17 2013 +0100

    BSE: FLAC: rename read() method to read_samples()

 bse/bsedatahandle-flac.cc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/bse/bsedatahandle-flac.cc b/bse/bsedatahandle-flac.cc
index 428f8fb..59c59cc 100644
--- a/bse/bsedatahandle-flac.cc
+++ b/bse/bsedatahandle-flac.cc
@@ -136,9 +136,9 @@ public:
   }
 
   int64
-  read (int64  voffset,
-       int64  n_values,
-       float *values)
+  read_samples (int64  voffset,
+               int64  n_values,
+               float *values)
   {
     if (voffset >= m_buffer_start + m_buffer.size())
       {
@@ -160,7 +160,7 @@ public:
       return -1;
 
     if (voffset == m_buffer_start)
-      return read (voffset, n_values, values);    // will work this time, since we have the right samples now
+      return read_samples (voffset, n_values, values);    // will work this time, since we have the right 
samples now
 
     return 0;
   }
@@ -218,7 +218,7 @@ private:
           int64          n_values,
           gfloat        *values)
   {
-    return dh_cast (dhandle)->read (voffset, n_values, values);
+    return dh_cast (dhandle)->read_samples (voffset, n_values, values);
   }
 };
 


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