21 #ifndef __ardour_srcfilesource_h__
22 #define __ardour_srcfilesource_h__
25 #include <samplerate.h>
44 float sample_rate ()
const {
return _session.nominal_frame_rate(); }
61 memset (peaks, 0,
sizeof (
PeakData) * npeaks);
framecnt_t readable_length() const
static const uint32_t blocksize
int read_peaks_with_fpp(PeakData *peaks, framecnt_t npeaks, framepos_t, framecnt_t, double, framecnt_t) const
framecnt_t length(framepos_t pos) const
framepos_t _target_position
LIBARDOUR_API PBD::PropertyDescriptor< framepos_t > start
bool clamped_at_unity() const
int update_header(framepos_t, struct tm &, time_t)
framepos_t _source_position
float sample_rate() const
boost::shared_ptr< AudioFileSource > _source
void set_length(framecnt_t)
framecnt_t write_unlocked(Sample *, framecnt_t)
framepos_t natural_position() const
bool can_be_analysed() const
framecnt_t src_buffer_size
void set_header_timeline_position()