mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
audioconvert: debug stride as well
This commit is contained in:
parent
995cf66f92
commit
392eff4628
1 changed files with 4 additions and 3 deletions
|
|
@ -245,7 +245,7 @@ static int negotiate_buffers(struct impl *this)
|
||||||
struct spa_pod *param;
|
struct spa_pod *param;
|
||||||
int res;
|
int res;
|
||||||
bool follower_alloc, conv_alloc;
|
bool follower_alloc, conv_alloc;
|
||||||
uint32_t i, size, buffers, blocks, align, flags;
|
uint32_t i, size, buffers, blocks, align, flags, stride = 0;
|
||||||
uint32_t *aligns;
|
uint32_t *aligns;
|
||||||
struct spa_data *datas;
|
struct spa_data *datas;
|
||||||
uint32_t follower_flags, conv_flags;
|
uint32_t follower_flags, conv_flags;
|
||||||
|
|
@ -303,11 +303,12 @@ static int negotiate_buffers(struct impl *this)
|
||||||
SPA_PARAM_BUFFERS_buffers, SPA_POD_Int(&buffers),
|
SPA_PARAM_BUFFERS_buffers, SPA_POD_Int(&buffers),
|
||||||
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(&blocks),
|
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(&blocks),
|
||||||
SPA_PARAM_BUFFERS_size, SPA_POD_Int(&size),
|
SPA_PARAM_BUFFERS_size, SPA_POD_Int(&size),
|
||||||
|
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(&stride),
|
||||||
SPA_PARAM_BUFFERS_align, SPA_POD_Int(&align))) < 0)
|
SPA_PARAM_BUFFERS_align, SPA_POD_Int(&align))) < 0)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
spa_log_debug(this->log, "%p: buffers %d, blocks %d, size %d, align %d %d:%d",
|
spa_log_debug(this->log, "%p: buffers:%d, blocks:%d, size:%d, stride:%d align:%d %d:%d",
|
||||||
this, buffers, blocks, size, align, follower_alloc, conv_alloc);
|
this, buffers, blocks, size, stride, align, follower_alloc, conv_alloc);
|
||||||
|
|
||||||
align = SPA_MAX(align, this->max_align);
|
align = SPA_MAX(align, this->max_align);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue