real time sound

Steve Bergman steve at rueb.com
Sun Mar 21 14:57:55 UTC 2004


S. Gongola wrote:
> I mostly pipe everything through SDL. mplayer works through SDL, and most 
> games use SDL. Like when I'm playing a shooting game when I press fire, I 
> hear the shooting sound about a second later. Can I do anything to SDL to 
> give it realtime priority?
> And what about artsd. When I click the run with realtime priority check-box it 
> doesn't do much?
>


Could you tell us a little bit more about your system?  The stock fedora 
  kernel should do much better than this without realtime scheduling 
unless the system is really loaded down, doing lot's of paging to/from 
disk etc.  I tend to discourage realtime schuling as it gives the RT app 
the ability to completely lock your system if it happens to get into an 
infinite loop, and multimedia apps are particularly likely to do this do 
to the unpredictable quality of data files and data streams that get 
thrown at them.

-Steve





More information about the fedora-list mailing list