mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Further reduce DSP load of debug builds
In all years of using these assert()s never triggered. Besides there are valid_port() tests in other strategic locations that are not periodically hit in realtime context.
This commit is contained in:
parent
ed21ea8fc6
commit
226dadbd19
6 changed files with 3 additions and 7 deletions
|
|
@ -1218,7 +1218,6 @@ CoreAudioBackend::get_buffer (PortEngine::PortHandle port_handle, pframes_t nfra
|
|||
{
|
||||
boost::shared_ptr<BackendPort> port = boost::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
assert (port);
|
||||
assert (valid_port (port));
|
||||
if (!port || !valid_port (port)) return NULL; // XXX remove me
|
||||
return port->get_buffer (nframes);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue