mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
objects don't have a time domain, they have a time domain provider (libs)
This commit is contained in:
parent
e430b54554
commit
3b565693c8
74 changed files with 268 additions and 244 deletions
|
|
@ -47,7 +47,7 @@ namespace ARDOUR { class Session; }
|
|||
|
||||
IOProcessor::IOProcessor (Session& s, bool with_input, bool with_output,
|
||||
const string& proc_name, const string io_name, DataType dtype, bool sendish)
|
||||
: Processor (s, proc_name, (dtype == DataType::AUDIO ? Temporal::AudioTime : Temporal::BeatTime))
|
||||
: Processor (s, proc_name, Temporal::TimeDomainProvider (dtype == DataType::AUDIO ? Temporal::AudioTime : Temporal::BeatTime))
|
||||
{
|
||||
/* these are true in this constructor whether we actually create the associated
|
||||
IO objects or not.
|
||||
|
|
@ -71,8 +71,8 @@ IOProcessor::IOProcessor (Session& s, bool with_input, bool with_output,
|
|||
/* create an IOProcessor that proxies to an existing IO object */
|
||||
|
||||
IOProcessor::IOProcessor (Session& s, std::shared_ptr<IO> in, std::shared_ptr<IO> out,
|
||||
const string& proc_name, Temporal::TimeDomain td, bool sendish)
|
||||
: Processor(s, proc_name, td)
|
||||
const string& proc_name, Temporal::TimeDomainProvider const & tdp, bool sendish)
|
||||
: Processor(s, proc_name, tdp)
|
||||
, _input (in)
|
||||
, _output (out)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue