[client] audio: poll LGMP streams at 25 microseconds

Use the active polling floor as the maximum wait and advertised
playback delivery reserve. Keep learned scheduling jitter adaptive.
This commit is contained in:
Geoffrey McRae
2026-09-02 18:28:17 +10:00
parent bf7c76c8db
commit f7b1133785
2 changed files with 2 additions and 2 deletions

View File

@@ -338,7 +338,7 @@ static bool fixtureInit(struct Fixture * fixture)
fixture->ops = lgmpAudio_getOps();
CHECK(fixture->ops);
CHECK(fixture->ops->playbackFlags == 0);
CHECK(fixture->ops->playbackArrivalReserveUs == 125);
CHECK(fixture->ops->playbackArrivalReserveUs == 25);
CHECK(fixture->ops->clockFeedbackAvailable);
CHECK(!fixture->ops->clockFeedbackAvailable(fixture->audio));
fixture->endpointGeneration = UINT64_C(0x100000001);

View File

@@ -37,7 +37,7 @@
#include <sys/random.h>
#define AUDIO_IDLE_POLL_MS 20U
#define AUDIO_ACTIVE_POLL_US 125U
#define AUDIO_ACTIVE_POLL_US 25U
#define AUDIO_CLAIM_RETRY_US 200000U
#define AUDIO_OWNER_RETRY_US 1200000U
#define AUDIO_DRAIN_MAX 32U