diff options
Diffstat (limited to 'libs/ardour/ardour/click.h')
-rw-r--r-- | libs/ardour/ardour/click.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/click.h b/libs/ardour/ardour/click.h index 783588c8ab..b4c2f7d9cc 100644 --- a/libs/ardour/ardour/click.h +++ b/libs/ardour/ardour/click.h @@ -33,17 +33,17 @@ struct Click { framecnt_t duration; framecnt_t offset; const Sample *data; - + Click (framepos_t s, framecnt_t d, const Sample *b) : start (s), duration (d), offset (0), data (b) {} - + void *operator new (size_t) { return pool.alloc (); }; - + void operator delete(void *ptr, size_t /*size*/) { pool.release (ptr); } - + private: static Pool pool; }; @@ -55,7 +55,7 @@ class ClickIO : public IO public: ClickIO (Session& s, const std::string& name) : IO (s, name, IO::Output) {} ~ClickIO() {} - + protected: uint32_t pans_required () const { return 1; } }; |