EndpointVolume

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2017 License: MIT Imports: 7 Imported by: 0

README

Endpoint volume

This example shows that changing volume for default rendering device.

Prerequisites

Build the executable

go build

That's it. Then you'll get EndpointVolume.exe. Note that your platform is not Windows, you need set the environment variable GOOS='windows' before building the executable.

Usage

./EndpointVolume --volume 0.1

Available flags are:

  • -v or --volume sets the volume as scalar value
  • -g or --gain sets the volume as level (dB) value
  • -m or --mute sets mute state

Contributing

Bug reports and improving the documentation are welcome. (https://github.com/moutend/go-wca/issues)

The Windows Core Audio API was introduced Windows vista, so that the later than that version of Windows could run this example. However, I'm not sure because I've just tested this example on Windows 10 version 1607 at the moment.

Documentation

Overview

+build windows

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL