port: simplify buffer allocation

Use just one function to do buffer allocation on a port.

Remove some unused variables.
This commit is contained in:
Wim Taymans 2019-08-07 12:56:57 +02:00
parent a319ec55ea
commit 06446e0d64
6 changed files with 91 additions and 185 deletions

View file

@ -549,6 +549,7 @@ static int negotiate_format(struct impl *this)
}
spa_pod_fixate(format);
spa_log_debug(this->log, NAME "%p: configure format:", this);
if (spa_log_level_enabled(this->log, SPA_LOG_LEVEL_DEBUG))
spa_debug_format(0, NULL, format);