mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-09 03:01:53 -04:00
milan-avb: acmp: fixing the missing stream deactivate
This commit is contained in:
parent
de17f14da4
commit
16d793db38
2 changed files with 34 additions and 5 deletions
|
|
@ -146,6 +146,15 @@ int handle_cmd_set_stream_format_milan_v12(struct aecp *aecp, int64_t now,
|
|||
}
|
||||
|
||||
stream_desc->current_format = new_format;
|
||||
|
||||
if (desc_type == AVB_AEM_DESC_STREAM_INPUT) {
|
||||
struct aecp_aem_stream_input_state *si = desc->ptr;
|
||||
si->common.stream.format = new_format;
|
||||
} else {
|
||||
struct aecp_aem_stream_output_state *so = desc->ptr;
|
||||
so->common.stream.format = new_format;
|
||||
}
|
||||
|
||||
rc = reply_success(aecp, buf, len);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue