Remove unused NascentInfo::is_touch member.
git-svn-id: svn://localhost/ardour2/branches/3.0@9386 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ee697bef96
commit
d22cd939a3
@ -184,7 +184,7 @@ AutomationList::set_automation_state (AutoState s)
|
|||||||
|
|
||||||
if (_state == Write) {
|
if (_state == Write) {
|
||||||
Glib::Mutex::Lock lm (ControlList::_lock);
|
Glib::Mutex::Lock lm (ControlList::_lock);
|
||||||
nascent.push_back (new NascentInfo (false));
|
nascent.push_back (new NascentInfo ());
|
||||||
}
|
}
|
||||||
automation_state_changed (s); /* EMIT SIGNAL */
|
automation_state_changed (s); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
@ -204,7 +204,7 @@ AutomationList::start_touch (double when)
|
|||||||
{
|
{
|
||||||
if (_state == Touch) {
|
if (_state == Touch) {
|
||||||
Glib::Mutex::Lock lm (ControlList::_lock);
|
Glib::Mutex::Lock lm (ControlList::_lock);
|
||||||
nascent.push_back (new NascentInfo (true, when));
|
nascent.push_back (new NascentInfo (when));
|
||||||
}
|
}
|
||||||
|
|
||||||
g_atomic_int_set (&_touching, 1);
|
g_atomic_int_set (&_touching, 1);
|
||||||
|
@ -280,13 +280,11 @@ protected:
|
|||||||
|
|
||||||
struct NascentInfo {
|
struct NascentInfo {
|
||||||
EventList events;
|
EventList events;
|
||||||
bool is_touch;
|
|
||||||
double start_time;
|
double start_time;
|
||||||
double end_time;
|
double end_time;
|
||||||
|
|
||||||
NascentInfo (bool touching, double start = -1.0)
|
NascentInfo (double start = -1.0)
|
||||||
: is_touch (touching)
|
: start_time (start)
|
||||||
, start_time (start)
|
|
||||||
, end_time (-1.0)
|
, end_time (-1.0)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
@ -365,7 +365,7 @@ ControlList::merge_nascent (double when)
|
|||||||
nascent.clear ();
|
nascent.clear ();
|
||||||
|
|
||||||
if (writing()) {
|
if (writing()) {
|
||||||
nascent.push_back (new NascentInfo (false));
|
nascent.push_back (new NascentInfo ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user