mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioadapter: remove some unused code
This commit is contained in:
parent
5e15411af4
commit
be6410909f
1 changed files with 2 additions and 6 deletions
|
|
@ -458,15 +458,11 @@ static int negotiate_format(struct impl *this)
|
|||
|
||||
spa_log_debug(this->log, NAME " %p: negiotiate", this);
|
||||
|
||||
state = 0;
|
||||
format = NULL;
|
||||
|
||||
spa_node_send_command(this->follower,
|
||||
&SPA_NODE_COMMAND_INIT(SPA_NODE_COMMAND_ParamBegin));
|
||||
|
||||
if (this->have_format)
|
||||
format = spa_format_audio_raw_build(&b, SPA_PARAM_Format, &this->follower_current_format.info.raw);
|
||||
|
||||
state = 0;
|
||||
format = NULL;
|
||||
if ((res = spa_node_port_enum_params_sync(this->follower,
|
||||
this->direction, 0,
|
||||
SPA_PARAM_EnumFormat, &state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue