F
F
Fanis X2016-09-28 19:42:06
Windows
Fanis X, 2016-09-28 19:42:06

How to control windows volume through Node JS?

Hello.
I recently started experimenting with Nodejs and websockets.
I came up with the idea for the sake of interest to write a simple application that would allow you to control the volume of a Windows 7 computer from your mobile phone. In the www.npmjs.com
repository , I found solutions only for linux and mac os. Question: Have you come across a module for nodejs that is related to the topic of the question, or is there perhaps another API for controlling the sound volume on Windows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2016-09-29
@Stalker_RED

Starting with whist, you can control the volume through IAudioEndpointVolume
https://msdn.microsoft.com/en-us/library/bb331828(...
And you can pull vinapi like this: https://habrahabr.ru/post/136185/
Although, maybe There are more correct ways, this is the first thing that googled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question