• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Audio Units & Airplay & MPVolumeView & Wifi lags (over buffering?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Units & Airplay & MPVolumeView & Wifi lags (over buffering?)


  • Subject: Re: Audio Units & Airplay & MPVolumeView & Wifi lags (over buffering?)
  • From: Jeff Johnson <email@hidden>
  • Date: Sat, 21 Jan 2012 14:26:02 -0600

The 2 second latency is inherent to the AirTunes protocol and cannot be disabled.

-Jeff


On Jan 20, 2012, at 10:20 AM, Jean-François Brouillet wrote:

> I've run a very simple experiment.
> In room 1, I have a Mac playing some music on the Mac loudspeakers
> In room 2, I have an Airplay connected stereo
>
> In room 2, I decide, using the Remote app on the iPad, to play room 1's music though the stereo too.
>
> After a lag of about 2 seconds, the music comes in, and as I move back and forth between room 1 and room 2, my ear would swear that everything is perfectly synchronized between the two rooms.
>
> Enter my AudioUnit code running on the iPad.
>
> I'm in room 2, and using nothing more sophisticated than an MPVolumeView, I switch the sound from my iPad internal speaker to the Airplay stereo.
>
> There is still an initial lag. OK, I can live with that. But what I cannot live with is that the lag is _continuous_. The stereo responds perfectly to what I do on the iPad (switching pitch, changing note, etc...) but with a seemingly constant 2 seconds lag!
>
> Is this a 'little dirty secret' that Airplay over Wifi, somehow buffers up to two seconds of sound, such that when more than one output can be listened to at once (my wandering in between the two rooms in the experiment above) everything appears in perfect sync?
>
> Is there a way to disable this?
> Is there some "lower level access" to Airplay than that provided by MPVolumeView that I could use to avoid any buffering at all?
> --
> JFB



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Audio Units & Airplay & MPVolumeView & Wifi lags (over buffering?) (From: Jean-François Brouillet <email@hidden>)

  • Prev by Date: Re: Slow audio device starting on Lion?
  • Next by Date: Re: Editing a looping MusicTrack as it plays
  • Previous by thread: Audio Units & Airplay & MPVolumeView & Wifi lags (over buffering?)
  • Next by thread: Filters in Accelerate Framework
  • Index(es):
    • Date
    • Thread