alsa,bluez5: handle SPA_PARAM_Latency in port_set_param

Simply return 0 instead of -ENOENT.

Fixes #1262
This commit is contained in:
Huang-Huang Bao 2021-06-05 02:21:10 +08:00 committed by Wim Taymans
parent d3fcc0a37a
commit 8c42e6aecb
7 changed files with 30 additions and 6 deletions

View file

@ -998,6 +998,9 @@ impl_node_port_set_param(void *object,
case SPA_PARAM_Format:
res = port_set_format(this, port, flags, param);
break;
case SPA_PARAM_Latency:
res = 0;
break;
default:
res = -ENOENT;
break;