[common] audio: define the mediated LGMP stream protocol

Advertise optional audio mediation separately from runtime driver
availability, then negotiate ownership through the existing LGMP
client-control path.

Define fixed playback and capture stream records for packed PCM,
endpoint state, clock feedback, and targeted descriptor discovery.
Keep the LGMP queue table, recovery sidecar, and submodule unchanged.
This commit is contained in:
Geoffrey McRae
2026-09-01 23:28:33 +10:00
parent c261fa053f
commit e55cb8bd61
2 changed files with 444 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ enum
LG_TRANSPORT_FEATURE_FRAME_SCHEDULE = 0x4,
LG_TRANSPORT_FEATURE_INPUT = 0x8,
LG_TRANSPORT_FEATURE_CLIPBOARD = 0x10,
/* The remote implements audio mediation; its driver may still be absent. */
LG_TRANSPORT_FEATURE_AUDIO = 0x20,
};
typedef uint32_t LG_TransportFeatureFlags;