Patent ID: 8081621

Claim:
A Voice-over-Internet-Protocol (VoIP) applications executing on at least one processor, the VoIP application comprising: a microphone buffer processor configured to receive microphone buffers from an audio device, the microphone buffers containing audio data to be transmitted over a network by the VoIP application; and a speaker buffer manager configured to: send speaker buffers containing audio data to the audio device, the speaker buffers stored in a memory of the audio device until the audio data is ready to be played out through a loudspeaker controlled by the audio device, define upper and lower limits of a speaker buffer count for the audio device, the speaker buffer count being a number of speaker buffers stored in the memory of the audio device, responsive to determining the speaker buffer count is higher than the upper limit, send a first number of new speaker buffers containing audio data to the audio device, and responsive to determining the speaker buffer count is lower than the lower limit, send a second number of new speaker buffers containing audio data to the audio device, the second number of new speaker buffers being more than the first number of new speaker buffers, and the first and second numbers of new speaker buffers being based on a number of microphone buffers received at the microphone buffer processor from the audio device.