X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsoundseq.h;h=93faa75b9b05f533e4499b73018cd7c7cb4fca67;hb=88c82aeb56c62d9d0c0acff51e360492ad9b8d23;hp=02425a71cf93d43fac1656c7283254a5d0eb9892;hpb=2ba58dfe65bb0c5ba7d5eb18a1566fa79eeb6993;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 {