Advertisement
Guest User

alanwww1

a guest
Oct 17th, 2009
13,257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.10 KB | None | 0 0
  1. #
  2. # Configuration for the Intel HD audio (ICH6/ICH7)
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. HDA-Intel.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type softvol
  13.     slave.pcm  "remap-surround71"
  14.        
  15.     control {
  16.         name "PCM Playback Volume"
  17.         card $CARD
  18.     }
  19. }  
  20.  
  21. # default with dmix+softvol & dsnoop
  22. HDA-Intel.pcm.default {
  23.     @args [ CARD ]
  24.     @args.CARD {
  25.         type string
  26.     }
  27.  
  28.       type asym
  29.        playback.pcm {
  30.                type plug
  31.                slave.pcm {
  32.                        type softvol
  33.                        slave.pcm "remap-surround71"
  34.                        control {
  35.                                name "PCM Playback Volume"
  36.                                card $CARD
  37.                        }
  38.                }
  39.        }
  40.  
  41.     capture.pcm {
  42.         type plug
  43.         slave.pcm {
  44.             type softvol
  45.             slave.pcm {
  46.                 @func concat
  47.                 strings [ "dsnoop:" $CARD ]
  48.             }
  49.             control {
  50.                 name "Digital Capture Volume"
  51.                 card $CARD
  52.             }
  53.             min_dB -30.0
  54.             max_dB 30.0
  55.             resolution 121
  56.         }
  57.         # to avoid possible phase inversions with digital mics
  58.         route_policy copy
  59.     }
  60.     hint.device 0
  61. }
  62.  
  63. <confdir:pcm/surround40.conf>
  64. <confdir:pcm/surround41.conf>
  65. <confdir:pcm/surround50.conf>
  66. <confdir:pcm/surround51.conf>
  67. <confdir:pcm/surround71.conf>
  68.  
  69. HDA-Intel.pcm.surround40.0 cards.HDA-Intel.pcm.front.0
  70. HDA-Intel.pcm.surround51.0 cards.HDA-Intel.pcm.front.0
  71. HDA-Intel.pcm.surround71.0 cards.HDA-Intel.pcm.front.0
  72.  
  73. <confdir:pcm/iec958.conf>
  74.  
  75. HDA-Intel.pcm.iec958.0 {
  76.     @args [ CARD AES0 AES1 AES2 AES3 ]
  77.     @args.CARD {
  78.         type string
  79.     }
  80.     @args.AES0 {
  81.         type integer
  82.     }
  83.     @args.AES1 {
  84.         type integer
  85.     }
  86.     @args.AES2 {
  87.         type integer
  88.     }
  89.     @args.AES3 {
  90.         type integer
  91.     }
  92.     type asym
  93.     playback.pcm {
  94.         type hooks
  95.         slave.pcm {
  96.             type hw
  97.             card $CARD
  98.             device 1
  99.         }
  100.         hooks.0 {
  101.             type ctl_elems
  102.             hook_args [
  103.             {
  104.                 name "IEC958 Playback Default"
  105.                 lock true
  106.                 preserve true
  107.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  108.             }
  109.             {
  110.                 name "IEC958 Playback Switch"
  111.                 lock true
  112.                 preserve true
  113.                 value true
  114.             }
  115.             ]
  116.         }
  117.     }
  118.     capture.pcm {
  119.         type hooks
  120.         slave.pcm {
  121.             type hw
  122.             card $CARD
  123.             device 1
  124.         }
  125.         hooks.0 {
  126.             type ctl_elems
  127.             hook_args [
  128.             {
  129.                 name "IEC958 Capture Switch"
  130.                 lock true
  131.                 preserve true
  132.                 value true
  133.             }
  134.             ]
  135.         }
  136.     }
  137.     hint.device 1
  138. }
  139.  
  140. <confdir:pcm/hdmi.conf>
  141.  
  142. HDA-Intel.pcm.hdmi.0 {
  143.     @args [ CARD AES0 AES1 AES2 AES3 ]
  144.     @args.CARD {
  145.         type string
  146.     }
  147.     @args.AES0 {
  148.         type integer
  149.     }
  150.     @args.AES1 {
  151.         type integer
  152.     }
  153.     @args.AES2 {
  154.         type integer
  155.     }
  156.     @args.AES3 {
  157.         type integer
  158.     }
  159.     type hooks
  160.     slave.pcm {
  161.         type plug
  162.         slave.pcm "remap-surround71"
  163.     }
  164.     hooks.0 {
  165.         type ctl_elems
  166.         hook_args [
  167.         {
  168.             name "IEC958 Playback Default"
  169.             lock true
  170.             preserve true
  171.             value [ $AES0 $AES1 $AES2 $AES3 ]
  172.         }
  173.         {
  174.             name "IEC958 Playback Switch"
  175.             lock true
  176.             preserve true
  177.             value true
  178.         }
  179.         ]
  180.     }
  181.     hint.device 3
  182. }
  183.  
  184. <confdir:pcm/modem.conf>
  185.  
  186. HDA-Intel.pcm.modem.0 {
  187.     @args [ CARD ]
  188.     @args.CARD {
  189.         type string
  190.     }
  191.     type hw
  192.     card $CARD
  193.     device 6
  194.     hint.show off
  195. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement