Unify ::get_buffer, remove debug code

This commit is contained in:
Robin Gareus 2022-06-18 22:53:55 +02:00
parent 32161cf154
commit 35612d26c6
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 0 additions and 4 deletions

View file

@ -1255,7 +1255,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);
if (!port || !valid_port (port)) return NULL; // XXX remove me
return port->get_buffer (nframes);
}