mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[client] audio: reduce LGMP poll reserve
Reduce the active LGMP poll bound and matching playback reserve from 250 us to 125 us.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <sys/random.h>
|
||||
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user