Re: Speedup hack enable/disable
Linus Walleij <[email protected]> Mon, 26 Sep 2005 22:13:13 +0200
| Newsgroups | gmane.comp.multimedia.libnjb.user |
|---|---|
| Message-ID | <1127765593.556.3.camel@felicia> |
sön 2005-09-25 klockan 12:45 +0100 skrev Richard Low: > I probably should have done this right from the start - can we make > the speedup hack I submitted configurable at runtime rather than > compile time only? OK the CVS turbo code is now controllable with an optional call. I have implemented this per-device instead of globally, so you can call NJB_Set_Turbo_Mode(njb, NJB_TURBO_OFF); to turn it off for a single device. Iterate over all devices to turn it off for all... It will default to NJB_TURBO_ON. The library interface age revision has been bumped (appear as 5.1.0 on most POSIX:es) to reflect the change. Changes will be in libnjb-2.2.4. Linus ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php