[mythtv-commits] Ticket #11530: AirPlay / AirTunes audio stuttering on 0.26

MythTV noreply at mythtv.org
Wed May 15 01:54:15 UTC 2013


#11530: AirPlay / AirTunes audio stuttering on 0.26
--------------------------------------+----------------------------
 Reporter:  khanh@…                   |          Owner:  jyavenard
     Type:  Bug Report - General      |         Status:  closed
 Priority:  major                     |      Milestone:  unknown
Component:  MythTV - Airplay          |        Version:  0.26-fixes
 Severity:  medium                    |     Resolution:  fixed
 Keywords:  airplay frontend stutter  |  Ticket locked:  0
--------------------------------------+----------------------------

Comment (by Jean-Yves Avenard <jyavenard@…>):

 In [changeset:27fa52d288ec01f017b43c1f1ec09382c4baaa2f/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="27fa52d288ec01f017b43c1f1ec09382c4baaa2f"
 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
 (cherry picked from commit 96f58cbf4baa16b2008888f92d4ce2fb7e615aec)
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11530#comment:15>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list