home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / alsa / cards / ATIIXP.conf < prev    next >
Encoding:
Text File  |  2007-04-10  |  2.5 KB  |  191 lines

  1. #
  2. # Configuration for the ATI IXP 150/200/250 chips
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. ATIIXP.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. # default with dmix/dsnoop
  18. ATIIXP.pcm.default {
  19.     @args [ CARD ]
  20.     @args.CARD {
  21.         type string
  22.     }
  23.     type asym
  24.     playback.pcm {
  25.         type plug
  26.         slave.pcm {
  27.             @func concat
  28.             strings [ "dmix:" $CARD ]
  29.         }
  30.     }
  31.     capture.pcm {
  32.         type plug
  33.         slave.pcm {
  34.             @func concat
  35.             strings [ "dsnoop:" $CARD ]
  36.         }
  37.     }
  38. }
  39.  
  40. <confdir:pcm/surround40.conf>
  41.  
  42. ATIIXP.pcm.surround40.0 {
  43.     @args [ CARD ]
  44.     @args.CARD {
  45.         type string
  46.     }
  47.     type hooks
  48.     slave.pcm {
  49.         type hw
  50.         card $CARD
  51.         device 0
  52.         channels 4
  53.     }
  54.     hooks.0 {
  55.         type ctl_elems
  56.         hook_args [
  57.             {
  58.                 name "Channel Mode"
  59.                 preserve true
  60.                 value "4ch"
  61.                 lock true
  62.                 optional true
  63.             }
  64.             # for old drivers
  65.             {
  66.                 name "Line-In As Surround"
  67.                 preserve true
  68.                 value true
  69.                 optional true
  70.             }
  71.             {
  72.                 name "Surround Down Mix"
  73.                 preserve true
  74.                 value off
  75.                 lock true
  76.                 optional true
  77.             }
  78.         ]
  79.     }
  80. }
  81.  
  82. <confdir:pcm/surround41.conf>
  83. <confdir:pcm/surround50.conf>
  84. <confdir:pcm/surround51.conf>
  85.  
  86. ATIIXP.pcm.surround51.0 {
  87.     @args [ CARD ]
  88.     @args.CARD {
  89.         type string
  90.     }
  91.     type hooks
  92.     slave.pcm {
  93.         type hw
  94.         card $CARD
  95.         device 0
  96.         channels 6
  97.     }
  98.     hooks.0 {
  99.         type ctl_elems
  100.         hook_args [
  101.             {
  102.                 name "Channel Mode"
  103.                 preserve true
  104.                 value "6ch"
  105.                 lock true
  106.                 optional true
  107.             }
  108.             # for old drivers
  109.             {
  110.                 name "Line-In As Surround"
  111.                 preserve true
  112.                 value true
  113.                 optional true
  114.             }
  115.             {
  116.                 name "Mic As Center/LFE"
  117.                 preserve true
  118.                 value true
  119.                 optional true
  120.             }
  121.             {
  122.                 name "Surround Down Mix"
  123.                 preserve true
  124.                 value off
  125.                 lock true
  126.                 optional true
  127.             }
  128.             {
  129.                 name "Center/LFE Down Mix"
  130.                 preserve true
  131.                 value off
  132.                 lock true
  133.                 optional true
  134.             }
  135.         ]
  136.     }
  137. }
  138.  
  139. <confdir:pcm/iec958.conf>
  140.  
  141. ATIIXP.pcm.iec958.0 {
  142.     @args [ CARD AES0 AES1 AES2 AES3 ]
  143.     @args.CARD {
  144.         type string
  145.     }
  146.     @args.AES0 {
  147.         type integer
  148.     }
  149.     @args.AES1 {
  150.         type integer
  151.     }
  152.     @args.AES2 {
  153.         type integer
  154.     }
  155.     @args.AES3 {
  156.         type integer
  157.     }
  158.     type hooks
  159.     slave.pcm {
  160.         type hw
  161.         card $CARD
  162.         device 1
  163.     }
  164.     hooks.0 {
  165.         type ctl_elems
  166.         hook_args [
  167.             {
  168.                 name "IEC958 Playback AC97-SPSA"
  169.                 device 0
  170.                 lock true
  171.                 preserve true
  172.                 value 3
  173.             }
  174.             {
  175.                 name "IEC958 Playback Default"
  176.                 device 0
  177.                 lock true
  178.                 preserve true
  179.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  180.             }
  181.             {
  182.                 name "IEC958 Playback Switch"
  183.                 device 0
  184.                 lock true
  185.                 preserve true
  186.                 value true
  187.             }
  188.         ]
  189.     }
  190. }
  191.