mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -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,8 +282,8 @@ static int do_negotiate(struct pw_impl_link *this)
|
||||||
if (out_state == PW_IMPL_PORT_STATE_CONFIGURE) {
|
if (out_state == PW_IMPL_PORT_STATE_CONFIGURE) {
|
||||||
pw_log_debug(NAME" %p: doing set format on output", this);
|
pw_log_debug(NAME" %p: doing set format on output", this);
|
||||||
if ((res = pw_impl_port_set_param(output,
|
if ((res = pw_impl_port_set_param(output,
|
||||||
SPA_PARAM_Format, SPA_NODE_PARAM_FLAG_NEAREST,
|
SPA_PARAM_Format, 0,
|
||||||
format)) < 0) {
|
format)) < 0) {
|
||||||
error = spa_aprintf("error set output format: %d (%s)", res, spa_strerror(res));
|
error = spa_aprintf("error set output format: %d (%s)", res, spa_strerror(res));
|
||||||
pw_log_error("tried to set output format:");
|
pw_log_error("tried to set output format:");
|
||||||
pw_log_pod(SPA_LOG_LEVEL_ERROR, format);
|
pw_log_pod(SPA_LOG_LEVEL_ERROR, format);
|
||||||
|
|
@ -300,8 +300,8 @@ static int do_negotiate(struct pw_impl_link *this)
|
||||||
if (in_state == PW_IMPL_PORT_STATE_CONFIGURE) {
|
if (in_state == PW_IMPL_PORT_STATE_CONFIGURE) {
|
||||||
pw_log_debug(NAME" %p: doing set format on input", this);
|
pw_log_debug(NAME" %p: doing set format on input", this);
|
||||||
if ((res2 = pw_impl_port_set_param(input,
|
if ((res2 = pw_impl_port_set_param(input,
|
||||||
SPA_PARAM_Format, SPA_NODE_PARAM_FLAG_NEAREST,
|
SPA_PARAM_Format, 0,
|
||||||
format)) < 0) {
|
format)) < 0) {
|
||||||
error = spa_aprintf("error set input format: %d (%s)", res2, spa_strerror(res2));
|
error = spa_aprintf("error set input format: %d (%s)", res2, spa_strerror(res2));
|
||||||
pw_log_error("tried to set input format:");
|
pw_log_error("tried to set input format:");
|
||||||
pw_log_pod(SPA_LOG_LEVEL_ERROR, format);
|
pw_log_pod(SPA_LOG_LEVEL_ERROR, format);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue