summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/capturing_processor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
commit30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch)
tree620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ardour/capturing_processor.h
parentcb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff)
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
Diffstat (limited to 'libs/ardour/ardour/capturing_processor.h')
-rw-r--r--libs/ardour/ardour/capturing_processor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/capturing_processor.h b/libs/ardour/ardour/capturing_processor.h
index dccb7eb99e..fe548d7bbc 100644
--- a/libs/ardour/ardour/capturing_processor.h
+++ b/libs/ardour/ardour/capturing_processor.h
@@ -29,7 +29,7 @@ namespace ARDOUR {
class LIBARDOUR_API CapturingProcessor : public Processor
{
public:
- CapturingProcessor (Session & session, framecnt_t latency);
+ CapturingProcessor (Session & session, samplecnt_t latency);
~CapturingProcessor();
public: // main interface
@@ -38,7 +38,7 @@ class LIBARDOUR_API CapturingProcessor : public Processor
public: // Processor overrides
bool display_to_user() const { return false; }
int set_block_size (pframes_t nframes);
- void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, double speed, pframes_t nframes, bool result_required);
+ void run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool result_required);
bool configure_io (ChanCount in, ChanCount out);
bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
virtual XMLNode& state (bool);
@@ -47,10 +47,10 @@ class LIBARDOUR_API CapturingProcessor : public Processor
void realloc_buffers();
- framecnt_t block_size;
+ samplecnt_t block_size;
BufferSet capture_buffers;
FixedDelay _delaybuffers;
- framecnt_t _latency;
+ samplecnt_t _latency;
};
} // namespace ARDOUR