mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
milan-avb: GET_STREAM_INFO: fixing the bound state according tol the ACMP status
This commit is contained in:
parent
0bf4864d84
commit
52c6c0a0cf
1 changed files with 4 additions and 2 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "../aecp-aem.h"
|
||||
#include "../aecp-aem-descriptors.h"
|
||||
#include "../aecp-aem-state.h"
|
||||
#include "../acmp-cmds-resps/acmp-milan-v12.h"
|
||||
#include "../maap.h"
|
||||
#include "../mrp.h"
|
||||
|
||||
|
|
@ -115,8 +116,9 @@ static void populate_input_response(struct aecp *aecp,
|
|||
|
||||
stream_format_be = stream_body->current_format;
|
||||
|
||||
/* Milan Section 5.3.8.2: bound iff the listener has a saved talker stream id. */
|
||||
bound = (lattr->attr.listener.stream_id != 0);
|
||||
/* Milan v1.2 Section 5.5.3.5: bound iff the listener FSM is not in UNBOUND. */
|
||||
bound = (si->acmp_sta.fsm_acmp_state !=
|
||||
FSM_ACMP_STATE_MILAN_V12_UNBOUND);
|
||||
|
||||
/* Milan Section 5.3.8.5: settled iff probing has completed. */
|
||||
settled = (si->acmp_sta.probing_status == 3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue