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 / ENS1370.conf < prev    next >
Encoding:
Text File  |  2007-04-10  |  1.3 KB  |  109 lines

  1. #
  2. # Configuration for the ENS1370 chip
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. ENS1370.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 1
  15. }    
  16.  
  17. # default with dmix/dsnoop
  18. ENS1370.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/rear.conf>
  41.  
  42. ENS1370.pcm.rear.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.     }
  53.     hooks.0 {
  54.         type ctl_elems
  55.         hook_args [
  56.             {
  57.                 interface CARD
  58.                 name "PCM 0 Output also on Line-In Jack"
  59.                 preserve true
  60.                 lock true
  61.                 value true
  62.             }
  63.             {
  64.                 name "PCM Switch"
  65.                 preserve true
  66.                 lock true
  67.                 value [ false false ]
  68.             }
  69.         ]
  70.     }
  71. }    
  72.  
  73. <confdir:pcm/surround40.conf>
  74.  
  75. ENS1370.pcm.surround40.0 {
  76.     @args [ CARD ]
  77.     @args.CARD {
  78.         type string
  79.     }
  80.     type multi
  81.     master 1
  82.     slaves [
  83.         {
  84.             pcm {
  85.                 @func concat
  86.                 strings [
  87.                     "cards.ENS1370.pcm.front.0:CARD=" $CARD
  88.                 ]
  89.             }
  90.             channels 2
  91.         }
  92.         {
  93.             pcm {
  94.                 @func concat
  95.                 strings [
  96.                     "cards.ENS1370.pcm.rear.0:CARD=" $CARD
  97.                 ]
  98.             }
  99.             channels 2
  100.         }
  101.     ]
  102.     bindings [
  103.         { slave 0 channel 0 }
  104.         { slave 0 channel 1 }
  105.         { slave 1 channel 0 }
  106.         { slave 1 channel 1 }
  107.     ]
  108. }
  109.