mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 05:06:31 +01:00
Add BasicUI::cancel_all_mute()
Towards removing the direct use of Session by surfaces.
This commit is contained in:
parent
799008e4d7
commit
b35f9ca1a0
4 changed files with 18 additions and 3 deletions
|
|
@ -762,6 +762,16 @@ BasicUI::sample_to_timecode (samplepos_t sample, Timecode::Time& timecode, bool
|
|||
_session->sample_to_timecode (sample, *((Timecode::Time*)&timecode), use_offset, use_subframes);
|
||||
}
|
||||
|
||||
std::vector<boost::weak_ptr<AutomationControl>>
|
||||
BasicUI::cancel_all_mute ()
|
||||
{
|
||||
if (_session) {
|
||||
return _session->cancel_all_mute ();
|
||||
}
|
||||
|
||||
return std::vector<boost::weak_ptr<AutomationControl>>{};
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::cancel_all_solo ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue