Discussion in 'Mac Apps and Mac App Store' started by sukanas, Nov 13, 2008.

  1. sukanas macrumors 6502a


    Nov 15, 2007
    is it possible to run airfoil with no latency whatssoever?
  2. r.j.s Moderator emeritus


    Mar 7, 2007
    Probably not, since it does have to transfer over the network.
  3. kman1987 macrumors newbie

    Nov 4, 2008
  4. jbeul macrumors newbie

    Dec 16, 2008
    This is not a problem : look aiport express, it transfer over the network as well and it's working without any latency.

    I'd be happy to have the code of that program but as it's not freeware i don't think it's possible.

    So if someone knows an alternative (free or not) which works FINE (for me airfoil sucks really because of the latency, only one computer can connect the so called server, and it's not free !!)

    If not I'd have to make it myself but i'll lose time and maybe someone did alread the perfect one.
  5. rainydays macrumors 6502a

    Nov 6, 2006
    If you don't understand why airfoil needs to buffer, then you are probably not fit to make one yourself.

    Airfoil streams live audio, and since it can't predict what will happen in the future (now wouldn't that be a great feature) it needs to delay the output.
    Sure, you could in theory make the buffer really small, but it wouldn't work that well in practice.
  6. jbeul macrumors newbie

    Dec 16, 2008
    Well let's see a bit :

    Airfoil execute the song on the client computer and transport the sound on the server

    Aiport Express and Airtunes transport the audio file byte by byte every second and it's the airport which execute the sound.

    Then with airfoil, the sound is played by the client audio card, and it sucks man, I wish there was a real audio transfer like a DLNA server which transfer every byte and then the audio card server runs it.

    With airfoil it's normal to have delay, because voip is used, but with airport, tcp is used and let's see.... A MP3 or even an AAC sound is like 4 Mb at more, the network is about to (technicly not theoricly) 60 Mb / sec, so i guess that if you send the song split every second it'd like 500 Ko / sec, i think it's enough ^^

    But right, with voip you need first to send the first second so yeah, there is delay, this is the case of MSN, but not iChat which record the sound, transfer it and plays it so you can have almost no delay.

    If you don't use voip : first it's faster, second no delay (like 5-6 ms depend of network but even on internet u can have 11 ms), and finally the processor can breath ! And of course you can use the sound card of the server so technicly you can use it to record as well, but it's not a very good idea in a studio anyway :p

    Oh yeah and without voip, you don't need any codecs as it's the server which plays it, only the server needs the codec.

    Now you could test all of this by trying aiport, and then u'll tell me. I never used it but I know how it works and for sure Apple would never sell something as bad as airfoil ;)
  7. kolax macrumors G3

    Mar 20, 2007
    Same reason AirTunes has a latency.

    It can't be instant for obvious reasons.
  8. jbeul macrumors newbie

    Dec 16, 2008
    I let you guys trying to call from a mobile another mobile and u'll tell me if you hear latency ^^

Share This Page