Advertisement
Guest User

Untitled

a guest
Aug 1st, 2023
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # Use case configuration for LenovoX13s.
  2. # Author: Srinivas Kandagatla <[email protected]>
  3.  
  4. SectionVerb {
  5. EnableSequence [
  6. cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1"
  7. cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1"
  8. cset "name='MultiMedia4 Mixer VA_CODEC_DMA_TX_0' 1"
  9. cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1"
  10. ]
  11.  
  12. Include.wcde.File "/codecs/wcd938x/DefaultEnableSeq.conf"
  13. Include.wsae.File "/codecs/wsa883x/DefaultEnableSeq.conf"
  14.  
  15. Value {
  16. TQ "HiFi"
  17. }
  18. }
  19.  
  20. SectionDevice."Speaker" {
  21. Comment "Speaker playback"
  22.  
  23. Include.wcdspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf"
  24. Include.wcdspkd.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf"
  25. Include.wsaspke.File "/codecs/wsa883x/SpeakerEnableSeq.conf"
  26. Include.wsaspkd.File "/codecs/wsa883x/SpeakerDisableSeq.conf"
  27.  
  28. Value {
  29. PlaybackPriority 100
  30. PlaybackPCM "hw:${CardId},1"
  31. PlaybackMixer "default:${CardId}"
  32. PlaybackMixerElem "Speakers"
  33. }
  34. }
  35.  
  36. SectionDevice."Headphones" {
  37. Comment "Headphones playback"
  38.  
  39. Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf"
  40. Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf"
  41. Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf"
  42. Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf"
  43.  
  44. Value {
  45. PlaybackPriority 200
  46. PlaybackPCM "hw:${CardId},0"
  47. PlaybackMixer "default:${CardId}"
  48. PlaybackMixerElem "HP"
  49. JackControl "Headphone Jack"
  50. JackHWMute "Speaker"
  51. }
  52. }
  53.  
  54. SectionDevice."Mic" {
  55. Comment "Mic"
  56.  
  57. Include.wcdmice.File "/codecs/wcd938x/HeadphoneMicEnableSeq.conf"
  58. Include.wcdmicd.File "/codecs/wcd938x/HeadphoneMicDisableSeq.conf"
  59. Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf"
  60. Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf"
  61.  
  62. Value {
  63. CapturePriority 100
  64. CapturePCM "hw:${CardId},2"
  65. CaptureMixerElem "ADC2"
  66. JackControl "Mic Jack"
  67. JackHWMute "DMic01"
  68. }
  69. }
  70.  
  71. SectionDevice."DMic01" {
  72. Comment "DMic01"
  73.  
  74. Include.vadm0e.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf"
  75. Include.vadm0d.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf"
  76. Include.vadm1e.File "/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf"
  77. Include.vadm1d.File "/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf"
  78.  
  79.  
  80. Value {
  81. CapturePriority 100
  82. CapturePCM "hw:${CardId},3"
  83. }
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement