Electronic Device Audio Synchronization via WiFi and Buffer Adjustment
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
There is a need for electronic devices to output audio data in synchronization with external devices, as existing technologies often result in sound output synchronization issues due to differences in audio data processing times between TVs and external audio devices, and current Bluetooth limitations restrict multi-channel audio transmission.
Innovation Solution
The method involves receiving audio data with presentation time stamp information and external device time stamp information, synchronizing system times between devices, storing audio data in a buffer based on synchronized times, and adjusting audio clocks based on buffer content to ensure synchronized output.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If audio data is transmitted through Bluetooth, then the transmission is simple and low-latency, but only up to 2 channels of audio can be transmitted
Solution Approach 1:
The patent introduces a WiFi access point as an intermediary device to enable multi-channel audio transmission. The external device transmits audio data to the electronic device through the WiFi access point, which acts as a mediator to handle the complex multi-channel transmission task, thereby overcoming Bluetooth's 2-channel limitation while maintaining system simplicity.
2Quantity of substance
If audio data is transmitted through WiFi access point to achieve multi-channel transmission, then more channels can be transmitted, but delay time of audio data increases
Solution Approach 1:
The patent applies preliminary action by pre-synchronizing the system time of the electronic device with the external device using timestamp information before audio data transmission. This time synchronization is performed in advance to establish a common time reference, enabling the electronic device to buffer and play back multi-channel audio data at the correct timing, thereby reducing delay time caused by WiFi transmission.
3Illumination intensity
If sound is output simultaneously from TV speaker and external audio device, then wider sound stage is achieved, but sound output synchronization is lost due to different audio data processing times
Solution Approach 1:
The patent implements feedback by continuously monitoring the audio data processing time of the external device and adjusting the buffering strategy accordingly. The electronic device receives timestamp information from the external device, compares it with its own system time, and dynamically adjusts the buffer duration to compensate for processing time differences, thereby maintaining synchronization between TV speaker and external audio device output.
Solution Approach 2:
The patent applies preliminary action by pre-calculating and setting the buffer duration based on the external device's audio data processing time before audio output begins. This advance preparation ensures that audio data is buffered for the exact duration needed to synchronize with the external device's processing speed, preventing synchronization issues during simultaneous output from TV speaker and external audio device.
Data Source
AI summary
An electronic device and a control method thereof is provided. The electronic device control method may include receiving audio data and data on the audio data including a presentation time stamp information indicating when the audio data is required to be output, and a time stamp information of an external device; synchronizing a system time of the electronic device with a system time of the external device by using the time stamp information of the electronic device and of the external device; storing the audio data in a buffer based on the system time of the electronic device and the presentation time stamp information; outputting the audio data stored in the buffer by a first audio clock through a speaker of the electronic device; and changing the first audio clock by comparing the audio data stored in the buffer with a predetermined buffer amount.


