mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioconvert: refuse invalid channels and rate
This commit is contained in:
parent
6341469456
commit
73628c91de
4 changed files with 7 additions and 1 deletions
|
|
@ -914,6 +914,8 @@ static int configure_adapt(struct impl *this)
|
|||
|
||||
spa_pod_builder_init(&b, buffer, sizeof(buffer));
|
||||
|
||||
spa_log_debug(this->log, "%p: configure convert %p", this, this->target);
|
||||
|
||||
param = spa_pod_builder_add_object(&b,
|
||||
SPA_TYPE_OBJECT_ParamPortConfig, SPA_PARAM_PortConfig,
|
||||
SPA_PARAM_PORT_CONFIG_direction, SPA_POD_Id(this->direction),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue