Refactor LTC File decoder, prepare for Lua bindings
[ardour.git] / libs / ardour / ardour / soundseq.h
index 02425a71cf93d43fac1656c7283254a5d0eb9892..93faa75b9b05f533e4499b73018cd7c7cb4fca67 100644 (file)
@@ -31,13 +31,13 @@ struct LIBARDOUR_API peak_data_t {
     peak_datum max;
 };
 
-const uint32_t frames_per_peak = 2048;
+const uint32_t samples_per_peak = 2048;
 
 class LIBARDOUR_API Sound : public EDL::Piece {
   public:
        int peak (peak_data_t& pk, uint32_t start, uint32_t cnt);
        int read_peaks (peak_data_t *, uint32_t npeaks, uint32_t start, uint32_t cnt);
-       int build_peak (uint32_t first_frame, uint32_t cnt);
+       int build_peak (uint32_t first_sample, uint32_t cnt);
 };
 
 class LIBARDOUR_API SoundPlaylist : public EDL::Playlist {