Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 28th, 2012  |  syntax: None  |  size: 1.67 KB  |  hits: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pcm.!default {
  2.         type plug
  3.         slave {
  4.                 pcm "both"
  5.         }
  6. }
  7.  
  8. pcm.both {
  9.         type route
  10.         slave {
  11.                 pcm multi
  12.                 channels 6
  13.         }
  14.         ttable.0.0 1.0
  15.         ttable.1.1 1.0
  16.         ttable.0.2 1.0
  17.         ttable.1.3 1.0
  18.         ttable.0.4 1.0
  19.         ttable.1.5 1.0
  20. }
  21.  
  22. pcm.multi {
  23.         type multi
  24.         slaves.a {
  25.                 pcm "hdmi_hw"
  26.                 channels 2
  27.         }
  28.         slaves.b {
  29.                 pcm "digital_hw"
  30.                 channels 2
  31.         }
  32.         slaves.c {
  33.                 pcm "analog_hw"
  34.                 channels 2
  35.         }
  36.         bindings.0.slave a
  37.         bindings.0.channel 0
  38.         bindings.1.slave a
  39.         bindings.1.channel 1
  40.         bindings.2.slave b
  41.         bindings.2.channel 0
  42.         bindings.3.slave b
  43.         bindings.3.channel 1
  44.         bindings.4.slave c
  45.         bindings.4.channel 0
  46.         bindings.5.slave c
  47.         bindings.5.channel 1
  48. }
  49.  
  50. pcm.hdmi_hw  {
  51.         type dmix
  52.         ipc_key 1000
  53.         slave {
  54.                 pcm "hw:0,3"
  55.                 period_time 0
  56.                 period_size 512
  57.                 buffer_size 2048
  58.         }
  59. }
  60.  
  61.         pcm.hdmi_formatted {
  62.         type plug
  63.         slave {
  64.                 pcm hdmi_hw
  65.                 channels 2
  66.         }
  67. }
  68.  
  69. pcm.hdmi_complete {
  70.         type softvol
  71.         slave.pcm hdmi_formatted
  72.         control.name hdmi_volume
  73.         control.card 1
  74. }
  75.  
  76. pcm.digital_hw  {
  77.         type dmix
  78.         ipc_key 1001
  79.         slave {
  80.                 pcm "hw:0,1"
  81.                 period_time 0
  82.                 period_size 512
  83.                 buffer_size 2048
  84.         }
  85. }
  86.  
  87. pcm.analog_hw  {
  88.         type dmix
  89.         ipc_key 1002
  90.         slave {
  91.                 pcm "hw:0,0"
  92.                 period_time 0
  93.                 period_size 512
  94.                 buffer_size 2048
  95.         }
  96. }