On Oct 7, 2010, at 11:06 AM, nidhi mittal hada wrote:

> A general question asking out of curiosity ...
> 
> regarding scheduling in kernel 
> 
> if its a uniprocessor 
> and 
> i am playing two songs of 5 mins duration each in two separate music players
> then 
> lets say cpu switches between these two processes ......
> 
> first song1 is being played ..then song 1 is switched to ready queue from run 
> queue ...
> song2 is played then ..
> then song1 will stop playing for that time period ...
> and in that way 
> song1 shd take 10 mins (acc to my clock)
> to complete 
> isnt it ....?

I could be wrong (I'm guessing) but I think that a sort of buffering should be 
done in 
the hardware of the sound card so you can hear the sound even 
if the process is not providing data.

--
Carlo Caione






--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to