mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
port: simplify buffer allocation
Use just one function to do buffer allocation on a port. Remove some unused variables.
This commit is contained in:
parent
a319ec55ea
commit
06446e0d64
6 changed files with 91 additions and 185 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue