Asoundrc Channeldelay

From MythTV Official Wiki
Revision as of 20:25, 21 June 2012 by PieterH (talk | contribs) (Created page with "== Asoundrc to delay channels independantly == I'm using the following asoundrc so all channels are 200msecs delayed, except for the center-channel (4). This is needed becaus...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Asoundrc to delay channels independantly

I'm using the following asoundrc so all channels are 200msecs delayed, except for the center-channel (4). This is needed because my TV has a 200msec display-delay and I use the TV-speaker as the center-speaker.


pcm.ladspa {
    type ladspa
    slave.pcm "plughw:CARD=D2X,DEV=0";
    path "/usr/lib/ladspa";
    plugins {
      0 {
        label identity_audio
        policy duplicate
      }
      1 {
        label delay_1s
        policy none
        output.bindings.0 "Output"
        input {
          controls [ 0.2 1 ]
        }
      }
      2 {
        label delay_1s
        policy none
        output.bindings.1 "Output"
        input {
          controls [ 0.2 1 ]
        }
      }
      3 {
        label delay_1s
        policy none
        output.bindings.2 "Output"
        input {
          controls [ 0.2 1 ]
        }
      }
      4 {
        label delay_1s
        policy none
        output.bindings.3 "Output"
        input {
          controls [ 0.2 1 ]
        }
      }
      5 {
        label delay_1s
        policy none
        output.bindings.4 "Output"
        input {
          controls [ 0.1 1 ]
        }
      }
   }
}

pcm.pladspa {
    type plug
    slave.pcm "ladspa";
}