mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Make RCU reader return a const pointer (omnibus commit)
This commit is contained in:
parent
e9f71824a1
commit
295dbd8e1e
58 changed files with 745 additions and 776 deletions
|
|
@ -564,7 +564,7 @@ RecorderUI::start_updating ()
|
|||
|
||||
size_t iop_audio = 0;
|
||||
size_t iop_midi = 0;
|
||||
std::shared_ptr<IOPlugList> iop;
|
||||
std::shared_ptr<IOPlugList const> iop;
|
||||
if (_session) {
|
||||
iop = _session->io_plugs ();
|
||||
for (auto& p : *iop) {
|
||||
|
|
@ -684,7 +684,7 @@ void
|
|||
RecorderUI::io_plugins_changed ()
|
||||
{
|
||||
_fast_screen_update_connection.disconnect ();
|
||||
std::shared_ptr<IOPlugList> iop (_session->io_plugs ());
|
||||
std::shared_ptr<IOPlugList const> iop (_session->io_plugs ());
|
||||
for (auto& p : *iop) {
|
||||
if (_ioplugins.find (p) != _ioplugins.end ()) {
|
||||
continue;
|
||||
|
|
@ -794,7 +794,7 @@ bool
|
|||
RecorderUI::update_meters ()
|
||||
{
|
||||
PortManager::AudioInputPorts const aip (AudioEngine::instance ()->audio_input_ports ());
|
||||
std::shared_ptr<IOPlugList> iop;
|
||||
std::shared_ptr<IOPlugList const> iop;
|
||||
if (_session) {
|
||||
iop = _session->io_plugs ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue