There is a lot of audio codecs :

  • MP3
  • AAC
  • FLAC
  • OGG
  • etc

Some compress a lot and other less .... however it does not mean that one codec is having less less latency than another.

For a general purpose use (music and voice) and for an average audio quality (it is ok to have some loss) :

what is the audio codec that offers the encoding with the lesser latency possible on modern PC and commonly supported ?

  • Hmm...it's hard to say in general. You should try with your specific data (multiple files), and adjusting the compression settings for the given format; see what gets you the maximum bang for buck. As you tagged this [audio-streaming], note that codec availability at the receiving end might also be a concern, esp. with patented/unusual codecs and/or on smartphones. Mar 4, 2012 at 17:00
  • Use OGG. Many user uses or Speex.
    – YumYumYum
    Mar 4, 2012 at 17:51
  • 1
    Any of these can go several times faster than realtime, what's more, encoding is often done just once. What are you trying to accomplish where you think encoding performance is a significant issue? Most of the time other priorities, like available bandwidth and receiver codec availability, latency/encoding delay, etc. are far more pressing issues than CPU requirements to encode.
    – afrazier
    Mar 4, 2012 at 18:10
  • Thank you all for your answers. as afrazier pointed out, I'm looking the one that has the less "latency/encoding delay". I'll correct my question. Mar 5, 2012 at 19:49
  • 1
    at first my question was misphrased ... so he helped me to rephrase my question ;) May 10, 2012 at 18:49

2 Answers 2


Knowing more about what you want to accomplish would help us give you a more appropriate answer. Are you working on some sort of voice/video chat client? If so, what's it going to run on? PCs only, or are you looking at portable (smartphone) implementations too? Or are you looking at some sort of audio streaming? What's your content? What are your clients?

If you're looking to minimize encoding delay, Speex may be your most mature implementation right now over a wide range of natural audio. Opus and AAC-LD are also available, but I'm not as confident of their relative maturity or penetration AAC-LD has the advantage of being backed by a large standards body and may have more hardware implementations available than the others.

That said, in a recent 64 kb/s listening test over at Hydrogen Audio, CELT was ranked above all of Vorbis, Nero HE-AAC and Apple's HE-AAC implementations with regards to sound quality. Results link.


I think the question is also related to the encoding window of the codecs. It seems like the standard compression technology is not designed for low latency, but there are standards that are already mentioned in other answers. See also


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .