]> git.alsa-project.org Git - alsa-lib.git/commitdiff
ucm: docs: Add MinBufferLevel value
authorCurtis Malainey <cujomalainey@chromium.org>
Thu, 7 Nov 2019 01:58:02 +0000 (17:58 -0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 14 Nov 2019 14:00:40 +0000 (15:00 +0100)
Allows ucm to override minimum buffer level for platforms that
incorrectly report their buffer level.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/use-case.h

index 194f2da0c71ee0fe2a37fe80ea257214d2a2bfdc..8a37121e4ad52ffc942bddc167bac5c451397006 100644 (file)
@@ -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,