mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
link: only debug when asked to
This commit is contained in:
parent
bc22c58435
commit
910318d71f
1 changed files with 2 additions and 1 deletions
|
|
@ -476,7 +476,8 @@ static int do_allocation(struct pw_link *this, uint32_t in_state, uint32_t out_s
|
||||||
for (i = 0, offset = 0; i < n_params; i++) {
|
for (i = 0, offset = 0; i < n_params; i++) {
|
||||||
params[i] = SPA_MEMBER(buffer, offset, struct spa_param);
|
params[i] = SPA_MEMBER(buffer, offset, struct spa_param);
|
||||||
spa_param_fixate(params[i]);
|
spa_param_fixate(params[i]);
|
||||||
spa_debug_param(params[i]);
|
if (pw_log_level_enabled(SPA_LOG_LEVEL_DEBUG))
|
||||||
|
spa_debug_param(params[i]);
|
||||||
offset += SPA_ROUND_UP_N(SPA_POD_SIZE(params[i]), 8);
|
offset += SPA_ROUND_UP_N(SPA_POD_SIZE(params[i]), 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue