Signal synchronization and latency jitter compensation for audio transmission systems
AssigneeIntel Corporation
InventorMatthias Doerbecker
Life of this patent
Estimating the term…
Abstract
Techniques related to input and output signal synchronization and latency jitter compensation for audio systems are discussed. Such techniques may include determining a number of virtually buffered samples based on a detected latency between an audio capture thread and an audio playback thread and synchronizing an audio input signal and an audio output signal based on the number of virtually buffered samples.
Claims25
A method for performing synchronization for an audio system comprising:
- detecting an actual latency between an audio capture thread and an audio playback thread determined by using a time measurement that comprises comparing timestamps of the two threads while receiving an audio input signal and transmitting an audio output signal;
- determining a number of virtually buffered audio samples based on the actual latency between the audio capture thread and the audio playback thread and a sample rate, the number of virtually buffered audio samples free from association with specific individual physical samples stored in a buffer used to store samples from the audio capture thread and to be used by the audio playback thread;
- determining a number of physically buffered samples that are located in the buffer;
- determining a number of overall samples by summing the number of virtually buffered audio samples and the number of physically buffered samples;
- modifying the sample rate by using the number of overall samples;
- and
- synchronizing an audio input signal and an audio output signal based, at least in part, on the number of virtually buffered audio samples.
An audio system comprising:
- a buffer configured to store audio data;
- and
- a central processing unit coupled to the buffer, the central processing unit to operate by:
- detecting an actual latency between an audio capture thread and an audio playback thread determined by using a time measurement that comprises comparing timestamps of the two threads while receiving an audio input signal and transmitting an audio output signal;
- determining a number of virtually buffered audio samples based on the actual latency between the audio capture thread and the audio playback thread and a sample rate associated with the audio capture thread, the number of virtually buffered audio samples free from association with specific individual physical samples stored in a buffer used to store samples from the audio capture thread and to be used by the audio playback thread;
- determining a number of physically buffered samples that are located in the buffer;
- determining a number of overall samples by summing the number of virtually buffered audio samples and the number of physically buffered samples;
- modifying the sample rate by using the number of overall samples;
- and
- synchronizing an audio input signal and an audio output signal based, at least in part, on the number of virtually buffered audio samples.
At least one non-transitory machine readable medium comprising a plurality of instructions that, in response to being executed on a device, cause the device to perform audio signal synchronization by:
- detecting an actual latency between an audio capture thread and an audio playback thread determined by using a time measurement that comprises comparing timestamps of the two threads while receiving an audio input signal and transmitting an audio output signal;
- determining a number of virtually buffered audio samples based on the actual latency between the audio capture thread and the audio playback thread and a sample rate associated with the audio capture thread, the number of virtually buffered audio samples free from association with specific individual physical samples stored in a buffer used to store samples from the audio capture thread and to be used by the audio playback thread;
- determining a number of physically buffered samples that are located in the buffer;
- determining a number of overall samples by summing the number of virtually buffered audio samples and the number of physically buffered samples;
- modifying the sample rate by using the number of overall samples;
- and
- synchronizing an audio input signal and an audio output signal based, at least in part, on the number of virtually buffered audio samples.
Dependencies are inferred from the claim text.