Advertisement
Guest User

.asoundrc

a guest
Oct 20th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. pcm.!default {
  2. type hw
  3. card 0
  4. }
  5.  
  6. ctl.!default {
  7. type hw
  8. card 0
  9. }
  10.  
  11.  
  12. # Set your DEFAULT device to the softvol plug-in
  13. # NOT to a hardware card device
  14. #
  15. # The "!" means completely override the previous default
  16. # Not just changing/adding to it.
  17. pcm.!default {
  18. type plug
  19. slave.pcm "softvol"
  20. }
  21.  
  22. # Configure softvol
  23. pcm.softvol {
  24. type softvol
  25.  
  26. # Send softvol's output to dmix
  27. slave {
  28. # pcm "dmix"
  29. # If you wanted to you could send the output to a card directly
  30. # But in most cases it's better to send it to dmix and let
  31. # dmix handle where to send it. You can add a whole extra section
  32. # to configure dmix and where it sends output, but I'm
  33. # not covering that here.
  34.  
  35. ## Use Card 0 Device 0 instead of dmix
  36. pcm "hw:0,0"
  37. ## Use Card 2 Device 0 instead of dmix
  38. # pcm "hw:2,0"
  39. }
  40.  
  41. # Add a control slider in your mixer interfaces
  42. # i.e. KMix and alsamixer
  43. control {
  44. name "Pre-Amp"
  45. card 0
  46. # i.e. card 0 or card 2
  47. }
  48.  
  49. # Minimum dB when slider is at 0%
  50. min_dB -5.0
  51.  
  52. # Maximum DB when slider is at 100%
  53. # 40 is too much
  54. max_dB 10.0
  55.  
  56. # How many levels the slider should go through
  57. # i.e. how granular do you want your control to be
  58. resolution 12
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement