[PATCH 2/2] ucm: add DmaPeriodMicrosecs

Curtis Malainey cujomalainey at chromium.org
Fri Aug 21 01:32:05 CEST 2020


Add ucm value to allow userspace to set sane values for platforms that
default to be configs.

Signed-off-by: Curtis Malainey <cujomalainey at chromium.org>
---
 include/use-case.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/use-case.h b/include/use-case.h
index 80148a7b..94992cd4 100644
--- a/include/use-case.h
+++ b/include/use-case.h
@@ -358,6 +358,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
  *   - CaptureMasterType
  *      - type of the master volume control
  *      - Valid values: "soft" (software attenuation)
+ *   - DmaPeriodMicrosecs
+ *      - Set DMA period us. Used to correct when system defaults to values too
+ *        large which cause initial noise. Value is passed to
+ *        snd_pcm_hw_params_set_period_time_near.
  *   - EDIDFile
  *      - Path to EDID file for HDMI devices
  *   - JackCTL
-- 
2.28.0.297.g1956fa8f8d-goog



More information about the Alsa-devel mailing list