INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Feature wish II: automatic task priority config  (Read 1124 times)

soundcheck

  • Guest
Feature wish II: automatic task priority config
« on: December 10, 2006, 01:57:19 pm »

Hi there.

Background: MC application used as high-end audio player!

I am usually using MC the way that I  change the task priority under Windows to give the sound driver higher priority.
BTW I am using ASIO and an external DAC. Sound quality will improve by doing that.

You can also, instead of doing it with the task manager, do it by putting below string in a batch-file and start the batch-file instead of MC, which makes life easier.

cmd /c start /REALTIME c:\path\file
                 /SLOW

(Unfortunately MC is using a lot of spaces in path names and file-names. Above string with the original MC path won't work. )

Would be also a "nice to have feature", I think this could also easily be integrated in the programme.

Quite some users would benefit.

THX 

Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Feature wish II: automatic task priority config
« Reply #1 on: December 10, 2006, 02:05:10 pm »

Isn't that more than a tad dangerous/pointless, as soon as you put it in
real time thread priority it has a higher priority than things like
the Mouse cursor moving and basic GUI operations, and even then
it just simply isn't real-time.  NT just isn't a real time operating system
by any stretch of the imagination. I was given the job
of building a real time system last year, using timer cards etc, and NT
was just hopeless.

Edit:
Ps, if you really want to want to use the Command line, just
do the path in quotes ie
cmd /c start /Realtime "C:\Program Files...\Mc12.exe"

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Feature wish II: automatic task priority config
« Reply #2 on: December 10, 2006, 02:17:25 pm »

You can put quotes around the path\file to prevent problems with spaces.
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Feature wish II: automatic task priority config
« Reply #3 on: December 10, 2006, 02:19:05 pm »

lol you posted that at exactly the same time i pressed save Jim.

soundcheck

  • Guest
Re: Feature wish II: automatic task priority config
« Reply #4 on: December 10, 2006, 02:22:40 pm »

@ChriZ:
That's correct. MS is not realtime. But it is as fast as you can get with the application.
The varibale has been named by a very enthusistic MS employee or perhaps a MS
marketing guy.  ;D

When setting it e.g. to LOW. It'll give the background services, such as ASIO and the communications,
higher priority.
The UI of course will suffer. But I don`t care about the UI when playing my AUDIO lists.
The monitor is switched off anyhow!

Jim. THX for the hint.

Cheers
Logged
Pages: [1]   Go Up