[mythtv-firehose] mythtv branch master updated by jyavenard. v0.27-pre2-1045-g96f58cb

Git Repo Owner noreply at mythtv.org
Tue May 14 01:04:55 UTC 2013

The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  96f58cbf4baa16b2008888f92d4ce2fb7e615aec (commit)
      from  b3097d6675e4caafe96b2c800579fc699e082389 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 96f58cbf4baa16b2008888f92d4ce2fb7e615aec
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 14 May 2013 10:58:46 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 14 May 2013 10:59:09 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=96f58cbf4baa16b2008888f92d4ce2fb7e615aec

Rework RAOP audio sync
commit 9ec7421138adef73ef9cb83b74e046092fecdd6a that fixed audio timestamp calculations revealed an issue in the way RAOP was calculating and setting time syncing.
Rework how things are done: We now calculate the audio card latency and simply drop the initial audio frames amounting for such length of time. From that point on, when we get too far behind we drop all queued audio and restart.

Rather than dropping a whole audio packet at a time (352 frames) we now drop frame by frame, so re-syncs are much smoother.

Surprisingly, this simpler method gives much better results. Synchronisation across multiple airplay device is almost perfect (tested across 2 macs and one linux). Remote audio and video sync are spot on.

Fixes #11530


Summary of changes:
 .../libs/libmythtv/AirPlay/mythraopconnection.cpp  |  149 +++++++++++++-------
 mythtv/libs/libmythtv/AirPlay/mythraopconnection.h |    2 +-
 2 files changed, 98 insertions(+), 53 deletions(-)


More information about the mythtv-firehose mailing list