Unify ::get_buffer, remove debug code
This commit is contained in:
parent
32161cf154
commit
35612d26c6
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -1446,7 +1446,6 @@ PortAudioBackend::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);
|
||||
}
|
||||
|
||||
|
|
|
@ -979,9 +979,7 @@ void*
|
|||
PulseAudioBackend::get_buffer (PortEngine::PortHandle port_handle, pframes_t nframes)
|
||||
{
|
||||
BackendPortPtr port = boost::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
|
||||
assert (port);
|
||||
|
||||
return port->get_buffer (nframes);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user