Shazam in a large 5.0 update for its iOS title (App Store) revamped the engine for its audio detection. It now claims that the app can recognize a song or audio-cued TV shows in "as little as" one second. It can start listening as soon as it's open, making sure that the sampling gets in before the opportunity passes.