Why does my laptop freeze when I shake it while watching a movie?

AI Thread Summary
Laptops with hard drive shock protection utilize accelerometers to detect movement, which can cause the video to freeze while the audio continues playing during disturbances. This occurs because audio and video data are processed through different channels, with audio typically being buffered more extensively due to its lower data rate compared to video. When a perturbation is detected, the video buffer depletes faster than the audio buffer, resulting in the audio returning first after a freeze. This phenomenon is consistent across devices, regardless of whether they have shock protection.
Charles123
Messages
131
Reaction score
0
My laptop is equipped with hard drive shock protection. If I am watching a movie and the accelerometer senses a perturbation (me shaking the computer) the image is immediately frozen, but there is no interruption in the sound. Why is this the case?
 
Computer science news on Phys.org
Charles123 said:
My laptop is equipped with hard drive shock protection. If I am watching a movie and the accelerometer senses a perturbation (me shaking the computer) the image is immediately frozen, but there is no interruption in the sound. Why is this the case?

Interesting! Afterwards is the video and audio out of sync? Maybe the audio is being buffered in a different cache or memory?
 
"Afterwards is the video and audio out of sync?" Yes that is what happens, when it is subjected to some kind of shaking both freeze, but sound returns immediately wile image stays frozen.
 
Video and sound are on different channels. Since there's so much more video data than audio (megabytes / second vs kilobytes / second) the program probably buffers (to RAM) more seconds of audio than video. When you hit a bump, the video buffer runs out before the audio does, and so the sound keeps on playing.
 
That nakes sense! Thank you
 
But why the sound returns first?
 
I have a similar problem, My laptop is not equipped with hard drive shock protection
 
For the same reason- audio data buffers faster than video data due to the large disparity in data rates.
 
Back
Top