Why does my PC continue to play music after freezing

3

It could be something that only happens with my computers, but I noticed that when I have Windows Media Player playing music and my computer freezes, the music continues to play fine until the end of the song, then it stops. I eventually have to hold down the power button to do an hard-restart on my computer. How is it that the music can keep playing when everything else is frozen?`

Seth Carnegie

Posted 2011-07-19T16:51:31.053

Reputation: 3 999

Answers

7

The technical reason is because WMP is using the DSP directly to play the audio. Here's a short, example workflow.

  • WMP reads the file and decodes it
  • WMP writes uncompressed audio to the DSP's buffer
  • DSP begins playing audio
  • CPU crashes (?)
  • DSP continues playing

Because the DSP does not have to rely on any more processing from the CPU nor does it need to traverse the system bus it can continue uninterrupted until the buffer is empty.

Like I said, this is just an example of what might be happening. The real/detailed/technical reason depends on the specifics of your audio system.

But seriously, shouldn't you be more concerned about a crashing/freezing system than wether or not it plays sound?

bahamat

Posted 2011-07-19T16:51:31.053

Reputation: 5 130

2I am more concerned about the freezing but that doesn't mean I can't know how the music keeps playing too :) – Seth Carnegie – 2011-07-19T17:29:29.427

0

How do you know your computer is 'frozen'? What are the precise symptoms? Frozen is a very generic term that is nearly meaningless about describing what the actual problem is. Computer software is extremely complex and failures can happen in many different locations each with different results.

For example if something in the User Interface fails, then your computer could be unusable in that you where no longer able to provide any input, but it could continue whatever tasks it was working on.

There have been instances where I have had an unresponsive computer at the console, but I was able to actually use remote-desktop to connect to that computer and save things, and reboot it.

Zoredache

Posted 2011-07-19T16:51:31.053

Reputation: 18 453