Skip to content

Library for volume control of the main audio in Windows 10.

License

Notifications You must be signed in to change notification settings

devmartins/AudioControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AudioControl

It is a dll for volume control of the main audio in Windows 10.
It only provides the functions for audio control of another project (AudioControlNative).

É uma dll para controle de volume do audio principal no Windows 10.
Ela apenas disponibiliza as funcões para controle de audio de outro projeto (AudioControlNative).

Nuget Packages:
AudioControl (x86)
AudioControl.x64 (x64)

Exemplo:

using System.Windows.Media;

//Returns a float containing the value (ranging from 0 to 1.0f)
//Retorna um float contendo o valor (variando de 0 a 1.0f)
var volume = AudioControl.GetMasterVolume();

//Set the volume (use values between 0 and 1.0f)
//Define o volume (use valores entre 0 e 1.0f)
AudioControl.SetMasterVolume(1.0f);

Ferramentas:
Visual Studio 2017 Community
.Net Framework 4.6
C#

Dependências
AudioControlNative (Biblioteca C++, já incluida nos pacotes)

About

Library for volume control of the main audio in Windows 10.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages