Re: [Audacity-devel] Priority of Process -- an observation
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Matt B. <mbr...@cs...> - 2004-07-31 17:28:27
|
CN wrote: > On Sat, 31 Jul 2004 09:48:50 -0700 (PDT), Matt Brubeck wrote: > >>>> cvs up -j1.8 -j1.8.4.1 lib-src/portaudio/pa_win_mme/pa_win_wmme.c >>> >>> Matt, the version of pa_win_wmme.c in HEAD was 1.9 (when downloaded >>> two days ago). So I assume the change you refer to has already been >>> applied in HEAD? >> >> No, it hasn't. Revision 1.8 was the branch point for that file. > > I just did a diff. The diff between 1.8 and 1.8.4.1 appears to be > already in 1.9 (unless I am not doing this right). As far as I can tell, that patch has not been checked into HEAD as of 1.9. This is from the diff between 1.8 and 1.8.4.1: + +#if 0 /* dmazzoni: this seems to cause problems */ if( !SetPriorityClass( GetCurrentProcess(), HIGH_PRIORITY_CLASS ) ) /* PLB20010816 */ { result = paHostError; sPaHostError = GetLastError();; goto error; } +#endif + And this is the code in 1.9: * Thanks to Alberto di Bene for spotting this. */ if( !SetPriorityClass( GetCurrentProcess(), HIGH_PRIORITY_CLASS ) ) /* PLB20010816 */ { result = paHostError; sPaHostError = GetLastError();; goto error; } if( !SetThreadPriority( wmmeStreamData->engineThread, THREAD_PRIORITY_HIGHEST ) ) { |