mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
impl-link: don't use NEAREST flag until we support it
This commit is contained in:
parent
1ca7713057
commit
729343f59b
1 changed files with 4 additions and 4 deletions
|
|
@ -282,7 +282,7 @@ static int do_negotiate(struct pw_impl_link *this)
|
|||
if (out_state == PW_IMPL_PORT_STATE_CONFIGURE) {
|
||||
pw_log_debug(NAME" %p: doing set format on output", this);
|
||||
if ((res = pw_impl_port_set_param(output,
|
||||
SPA_PARAM_Format, SPA_NODE_PARAM_FLAG_NEAREST,
|
||||
SPA_PARAM_Format, 0,
|
||||
format)) < 0) {
|
||||
error = spa_aprintf("error set output format: %d (%s)", res, spa_strerror(res));
|
||||
pw_log_error("tried to set output format:");
|
||||
|
|
@ -300,7 +300,7 @@ static int do_negotiate(struct pw_impl_link *this)
|
|||
if (in_state == PW_IMPL_PORT_STATE_CONFIGURE) {
|
||||
pw_log_debug(NAME" %p: doing set format on input", this);
|
||||
if ((res2 = pw_impl_port_set_param(input,
|
||||
SPA_PARAM_Format, SPA_NODE_PARAM_FLAG_NEAREST,
|
||||
SPA_PARAM_Format, 0,
|
||||
format)) < 0) {
|
||||
error = spa_aprintf("error set input format: %d (%s)", res2, spa_strerror(res2));
|
||||
pw_log_error("tried to set input format:");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue