X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsoundseq.h;h=93faa75b9b05f533e4499b73018cd7c7cb4fca67;hb=e5a181c323243a03338f5a9934a5df254986370d;hp=02425a71cf93d43fac1656c7283254a5d0eb9892;hpb=7000afdc66c9e0ae8dcf9ec080517dabba1e7f34;p=ardour.git diff --git a/libs/ardour/ardour/soundseq.h b/libs/ardour/ardour/soundseq.h index 02425a71cf..93faa75b9b 100644 --- a/libs/ardour/ardour/soundseq.h +++ b/libs/ardour/ardour/soundseq.h @@ -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 {