NO-OP: whitespace, comments

This commit is contained in:
Robin Gareus 2019-04-08 18:29:04 +02:00
parent 57616fdb11
commit aef75f87b7
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
13 changed files with 81 additions and 79 deletions

View file

@ -120,7 +120,8 @@ class LIBARDOUR_API AudioRegion : public Region
uint32_t chan_n = 0) const; uint32_t chan_n = 0) const;
virtual samplecnt_t master_read_at (Sample *buf, Sample *mixdown_buf, float *gain_buf, virtual samplecnt_t master_read_at (Sample *buf, Sample *mixdown_buf, float *gain_buf,
samplepos_t position, samplecnt_t cnt, uint32_t chan_n=0) const; samplepos_t position, samplecnt_t cnt,
uint32_t chan_n=0) const;
virtual samplecnt_t read_raw_internal (Sample*, samplepos_t, samplecnt_t, int channel) const; virtual samplecnt_t read_raw_internal (Sample*, samplepos_t, samplecnt_t, int channel) const;

View file

@ -1895,13 +1895,13 @@ private:
Click* get_click(); Click* get_click();
samplepos_t _clicks_cleared; samplepos_t _clicks_cleared;
samplecnt_t _count_in_samples;
void setup_click_sounds (int which); void setup_click_sounds (int which);
void setup_click_sounds (Sample**, Sample const *, samplecnt_t*, samplecnt_t, std::string const &); void setup_click_sounds (Sample**, Sample const *, samplecnt_t*, samplecnt_t, std::string const &);
void clear_clicks (); void clear_clicks ();
void click (samplepos_t start, samplecnt_t nframes); void click (samplepos_t start, samplecnt_t nframes);
void run_click (samplepos_t start, samplecnt_t nframes); void run_click (samplepos_t start, samplecnt_t nframes);
void add_click (samplepos_t pos, bool emphasis); void add_click (samplepos_t pos, bool emphasis);
samplecnt_t _count_in_samples;
/* range playback */ /* range playback */

View file

@ -110,6 +110,7 @@ class LIBARDOUR_API Source : public SessionObject
virtual void dec_use_count (); virtual void dec_use_count ();
int use_count() const { return g_atomic_int_get (const_cast<gint*>(&_use_count)); } int use_count() const { return g_atomic_int_get (const_cast<gint*>(&_use_count)); }
bool used() const { return use_count() > 0; } bool used() const { return use_count() > 0; }
uint32_t level() const { return _level; } uint32_t level() const { return _level; }
std::string ancestor_name() { return _ancestor_name.empty() ? name() : _ancestor_name; } std::string ancestor_name() { return _ancestor_name.empty() ? name() : _ancestor_name; }

View file

@ -489,10 +489,10 @@ Port::get_connected_latency_range (LatencyRange& range, bool playback) const
} else { } else {
/* port belongs to this instance of ardour, /* port belongs to this instance of ardour,
so look up its latency information * so look up its latency information
internally, because our published/public * internally, because our published/public
values already contain our plugin * values already contain our plugin
latency compensation. * latency compensation.
*/ */
boost::shared_ptr<Port> remote_port = AudioEngine::instance()->get_port_by_name (*c); boost::shared_ptr<Port> remote_port = AudioEngine::instance()->get_port_by_name (*c);