From f2f3787aec4bd0d28d117d7cb2e4e91db0bdd07d Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 2 Sep 2026 06:04:18 +1000 Subject: [PATCH] [client] audio: reduce LGMP poll reserve Reduce the active LGMP poll bound and matching playback reserve from 250 us to 125 us. --- client/tests/lgmp_audio_test.c | 2 +- client/transports/LGMP/audio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tests/lgmp_audio_test.c b/client/tests/lgmp_audio_test.c index 0a1bbce6..0b163e8a 100644 --- a/client/tests/lgmp_audio_test.c +++ b/client/tests/lgmp_audio_test.c @@ -309,7 +309,7 @@ static bool fixtureInit(struct Fixture * fixture) fixture->ops = lgmpAudio_getOps(); CHECK(fixture->ops); CHECK(fixture->ops->playbackFlags == 0); - CHECK(fixture->ops->playbackArrivalReserveUs == 250); + CHECK(fixture->ops->playbackArrivalReserveUs == 125); CHECK(fixture->ops->clockFeedbackAvailable); CHECK(!fixture->ops->clockFeedbackAvailable(fixture->audio)); fixture->endpointGeneration = UINT64_C(0x100000001); diff --git a/client/transports/LGMP/audio.c b/client/transports/LGMP/audio.c index b71f6b21..51acdbb8 100644 --- a/client/transports/LGMP/audio.c +++ b/client/transports/LGMP/audio.c @@ -37,7 +37,7 @@ #include #define AUDIO_IDLE_POLL_MS 20U -#define AUDIO_ACTIVE_POLL_US 250U +#define AUDIO_ACTIVE_POLL_US 125U #define AUDIO_CLAIM_RETRY_US 200000U #define AUDIO_OWNER_RETRY_US 1200000U #define AUDIO_DRAIN_MAX 32U