Author Topic: XMPlay and MMCSS  (Read 877 times)

garson

  • Posts: 138
XMPlay and MMCSS
« on: 9 Nov '16 - 00:29 »
Hello.
I guess this is quesdtion for Ian.
Is XMplay using MMCSS profile?

Thanks.

amit

  • Posts: 723
Re: XMPlay and MMCSS
« Reply #1 on: 9 Nov '16 - 08:14 »
In xmplay.ini add the line:

MMCSS=profile

profile is one of your choice from those defined in your system.

garson

  • Posts: 138
Re: XMPlay and MMCSS
« Reply #2 on: 9 Nov '16 - 22:00 »
In xmplay.ini add the line:

MMCSS=profile

profile is one of your choice from those defined in your system.
Thanks Amit.

I didn't know about this.
Is this secret .ini setting?

garson

  • Posts: 138
Re: XMPlay and MMCSS
« Reply #3 on: 10 Nov '16 - 00:38 »
Tried couple of profiles (Audio, Pro Audio, Playback) but thread priorities are the same.
How can I check if xmplay is using mmcss?

amit

  • Posts: 723
Re: XMPlay and MMCSS
« Reply #4 on: 10 Nov '16 - 11:10 »
Maybe you want also to add to xmplay.ini:

Boost=1

This will set xmplay process at high priority instead of normal.

garson

  • Posts: 138
Re: XMPlay and MMCSS
« Reply #5 on: 10 Nov '16 - 13:10 »
Maybe you want also to add to xmplay.ini:

Boost=1

This will set xmplay process at high priority instead of normal.
Thanks again Amit.
I wasn't aware of Boost setting.

I'm forcing Realtime priority for XMPlay using Prio.

Ian @ un4seen

  • Administrator
  • Posts: 20400
Re: XMPlay and MMCSS
« Reply #6 on: 10 Nov '16 - 14:54 »
Tried couple of profiles (Audio, Pro Audio, Playback) but thread priorities are the same.
How can I check if xmplay is using mmcss?

I don't know if there is anything that will tell you what particular profile a thread is using (I haven't looked for such a thing), but you can use Process Explorer for a general MMCSS check. You should see one of XMPlay's threads (the one that generates the audio) has a higher dynamic priority and lower base priority than normal during playback (both will normally be 15 without MMCSS).

   https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx

garson

  • Posts: 138
Re: XMPlay and MMCSS
« Reply #7 on: 10 Nov '16 - 20:37 »
Tried couple of profiles (Audio, Pro Audio, Playback) but thread priorities are the same.
How can I check if xmplay is using mmcss?

I don't know if there is anything that will tell you what particular profile a thread is using (I haven't looked for such a thing), but you can use Process Explorer for a general MMCSS check. You should see one of XMPlay's threads (the one that generates the audio) has a higher dynamic priority and lower base priority than normal during playback (both will normally be 15 without MMCSS).

   https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx
I tried exactly the same last night but it didn't change. However going from High to Realtime priority changed both values to 24.

Dotpitch

  • Posts: 2871
Re: XMPlay and MMCSS
« Reply #8 on: 11 Nov '16 - 06:40 »
Are you having playback problems?

garson

  • Posts: 138
Re: XMPlay and MMCSS
« Reply #9 on: 11 Nov '16 - 19:26 »
Are you having playback problems?
No.  :)
Just playing around with my "just for audio PC", implementing some optimizations.