XXHighEnd

Ultimate Audio Playback => XXHighEnd Support => Topic started by: soundgals on January 09, 2014, 02:45:18 pm



Title: Request for feature to re-start Audio Service on quit.
Post by: soundgals on January 09, 2014, 02:45:18 pm
Peter,

I'm just wondering if it would be possible to automatically re-start certain services on quit.

Specifically I'd like to re-start the Windows Audio Service because I want to run another player for DSD only and that requires it.

This would save me going into services and manually restarting it, together with its two dependencies each time.

Even better might be the ability for the user to choose exactly which services get restarted on quit.

Obviously when running XX again, all the services requested to be stopped should be stopped as usual at unattended.

Thanks for considering it.

geoff


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: PeterSt on January 09, 2014, 04:14:07 pm
Geoff,

Keep WASAPI services before booting into MinOS, and once in MinOS shut deactivate that button again (so, Not Keep WASAPI services then). Then play as usual (Unattended assumed).
That would do pretty much what you ask for.

Regards,
Peter


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: soundgals on January 09, 2014, 10:17:50 pm
Thanks Peter. I'm not sure if that would accomplish exactly what I'm after though.

I want to do all this in Min OS, because I want to keep as much minimised as possible when I run JR for DSD.

This seems to benefit SQ there as well.

That's why I just want WASAPI restored when I'm in still in Min OS without rebooting in and out of Min OS.

I hope I explained it better this time.

Geoff


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: PeterSt on January 09, 2014, 11:30:38 pm
I understood Geoff.


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: mrmondegreen on February 24, 2014, 05:52:39 am
I ended up writing two old-school batch files for a similar purpose, albeit a lower-fidelity one (listening to rdio).  When I'm done with XXHE and I want to stream, I run "Start Windows Audio".  When I want to go back to XXHE (without a reboot) I run "Stop Windows Audio".  This is easier than digging through the services control panel.

The commands in both batch files are listed below:

1 - Start Windows Audio.bat
@net start "Windows Audio"

2 - Stop Windows Audio.bat
@net stop "Windows Audio"
@net stop "Windows Audio Endpoint Builder"

These work for me under W7 64 Pro.  Starting the "Windows Audio" service in #1 also starts the "Endpoint Builder" automatically. See attached files to save some typing.


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: PeterSt on February 24, 2014, 09:06:32 am
Hi,

I you sure you tested this in Minimized OS and after disabling WASAPI in XXHighEnd Settings while in Normal OS ?

Regards,
Peter


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: mrmondegreen on February 26, 2014, 12:25:09 am
Good question.... I was running in Minimized OS with WASAPI disabled under z8e for the better part of a year, where the scripts worked. 

I just tried 1.186a this weekend, and ended up returning to Normal OS and then let 1.186a minimize the OS again.  The scripts did not work at this point, as the dependent services are now set to a startup type of "disabled" instead of "manual".  If I re-enable (i.e. set those services to "manual"), the script works again, but it would need to be tweaked to turn off the extra service that is started.

On my machine, setting the startup type for the following services to "manual" is required for the scripts to work: "Multimedia Class Scheduler", "Windows Audio", and "Windows Audio Endpoint Builder".

The start batch file does not require a change.
The stop batch file, however would now be:

2 - Stop Windows Audio.bat
@net stop "Windows Audio"
@net stop "Windows Audio Endpoint Builder"
@net stop "Multimedia Class Scheduler"


Title: Re: Request for feature to re-start Audio Service on quit.
Post by: PeterSt on February 26, 2014, 07:18:06 am
hehe But what you propose is the same as this :

Keep WASAPI services before booting into MinOS, and once in MinOS shut deactivate that button again (so, Not Keep WASAPI services then). Then play as usual (Unattended assumed).

Sorry ... :)
Regards,
Peter