home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / alsa / cards / HDA-Intel.conf < prev    next >
Encoding:
Text File  |  2009-03-29  |  2.7 KB  |  198 lines

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