[PATCH 1/2] ucm: Add JackSwitch definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some codecs can differentiate headsets based on the number of rings.
Should we choose to differentiate the config we will need to be able to
select based on the jack event code.

Signed-off-by: Curtis Malainey <cujomalainey@xxxxxxxxxxxx>
---
 include/use-case.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/use-case.h b/include/use-case.h
index 2363c3ed..80148a7b 100644
--- a/include/use-case.h
+++ b/include/use-case.h
@@ -386,6 +386,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
  *        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.
+ *   - JackSwitch
+ *      - Represents the jack switch value for this device. Value is a base 10
+ *        value of a switch code in input_event_codes.h
  *   - 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
-- 
2.28.0.297.g1956fa8f8d-goog




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux