13
0

Disambiguate GraphNode::run and IOPlug::run

This commit is contained in:
Robin Gareus 2022-06-04 15:19:18 +02:00
parent 720303a217
commit c1a1d12354
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ public:
XMLNode& get_state (void) const; XMLNode& get_state (void) const;
int set_state (const XMLNode&, int version); int set_state (const XMLNode&, int version);
void run (samplepos_t, pframes_t); void connect_and_run (samplepos_t, pframes_t);
int set_block_size (pframes_t); int set_block_size (pframes_t);
void set_public_latency (bool); void set_public_latency (bool);
bool ensure_io (); bool ensure_io ();

View File

@ -560,7 +560,7 @@ Graph::process_one_route (Route* route)
void void
Graph::process_one_ioplug (IOPlug* ioplug) Graph::process_one_ioplug (IOPlug* ioplug)
{ {
ioplug->run (_process_start_sample, _process_nframes); ioplug->connect_and_run (_process_start_sample, _process_nframes);
} }
bool bool

View File

@ -425,7 +425,7 @@ IOPlug::process ()
} }
void void
IOPlug::run (samplepos_t start, pframes_t n_samples) IOPlug::connect_and_run (samplepos_t start, pframes_t n_samples)
{ {
Temporal::TempoMap::update_thread_tempo_map (); Temporal::TempoMap::update_thread_tempo_map ();
assert (n_samples > 0); assert (n_samples > 0);