mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
fix compilation
This commit is contained in:
parent
6dcf0027d8
commit
edf2062830
1 changed files with 3 additions and 3 deletions
|
|
@ -1526,8 +1526,8 @@ static int setup_channelmix(struct impl *this)
|
||||||
in->format.info.raw.rate,
|
in->format.info.raw.rate,
|
||||||
src_mask, dst_mask);
|
src_mask, dst_mask);
|
||||||
|
|
||||||
if (this->props.mix_disable &&
|
if (this->props.mix_disabled &&
|
||||||
(src_chan != dst_chan || src_mask != dst_mask)
|
(src_chan != dst_chan || src_mask != dst_mask))
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
|
|
||||||
this->mix.src_chan = src_chan;
|
this->mix.src_chan = src_chan;
|
||||||
|
|
@ -1563,7 +1563,7 @@ static int setup_resample(struct impl *this)
|
||||||
out->format.info.raw.channels,
|
out->format.info.raw.channels,
|
||||||
out->format.info.raw.rate);
|
out->format.info.raw.rate);
|
||||||
|
|
||||||
if (this->props.resample_disable &&
|
if (this->props.resample_disabled &&
|
||||||
in->format.info.raw.rate != out->format.info.raw.rate)
|
in->format.info.raw.rate != out->format.info.raw.rate)
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue