From 35e737f2ec051e26aeae54ed5f29f4a2d7fade35 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Wed, 6 Nov 2019 17:58:02 -0800 Subject: [PATCH] ucm: docs: Add MinBufferLevel value Allows ucm to override minimum buffer level for platforms that incorrectly report their buffer level. Signed-off-by: Curtis Malainey Signed-off-by: Jaroslav Kysela --- include/use-case.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 194f2da0..8a37121e 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -328,6 +328,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * trick upper software layers to e.g. automatically mute speakers when * headphones are plugged in, but that's application policy * configuration that doesn't belong to UCM configuration files. + * - MinBufferLevel + * - This is used on platform where reported buffer level is not accurate. + * E.g. "512", which holds 512 samples in device buffer. Note: this will + * increase latency. */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, -- 2.47.1