<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    As a follow-up to this thread, I've mostly given up on this. The
    occasional time when MythTV playback would start while "aplay" was
    playing a few seconds of silence was annoying.<br>
    <br>
    I tried to add a MythTV System Event Handler, to do "pkill aplay"
    when playback starts, but that didn't seem to work. I didn't really
    look into why. It may be that the pkill itself didn't work, or that
    it was taking too long to pkill the process, and the sound device
    was still in use by the time MythTV playback started. In any case,
    the whole thing seemed clunky.<br>
    <br>
    One more thing, I reported earlier that when I had an HDMI cable
    from my HTPC to the soundbar, and another HDMI cable out from the
    soundbar into the TV (so using the soundbar as an HDMI switcher as
    well as speakers), I had to add 350ms of audio delay to MythTV,
    otherwise sound would come out before the pictures. I have
    experimented some more and although that is the case, any other HDMI
    source I've tried (Roku, PS3, Xbox 360) does not have this problem.
    If I plug my HTPC directly into the TV I don't have any problem
    either.<br>
    <br>
    I can't work out why MythTV would act differently when played
    "through" the soundbar like that. Anyone have any ideas? I'm using
    Intel graphics if it makes a difference. I haven't done any more
    tests like using VLC, or looked in frontend logs.<br>
    <br>
    John<br>
    <pre class="moz-signature" cols="72">-- 
John Veness, MythTV user, UK, DVB-T</pre>
  </body>
</html>