mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Some more assert() debugging
This commit is contained in:
parent
1937c74191
commit
6b5d374352
4 changed files with 10 additions and 3 deletions
|
|
@ -1569,7 +1569,9 @@ CoreAudioBackend::n_physical_inputs () const
|
|||
void*
|
||||
CoreAudioBackend::get_buffer (PortEngine::PortHandle port, pframes_t nframes)
|
||||
{
|
||||
if (!port || !valid_port (port)) return NULL;
|
||||
assert (port);
|
||||
assert (valid_port (port));
|
||||
if (!port || !valid_port (port)) return NULL; // XXX remove me
|
||||
return static_cast<CoreBackendPort*>(port)->get_buffer (nframes);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue