Skip to content
forked from moutend/go-wca

Pure golang bindings for Windows Core Audio API. The `cgo` is not required.

License

Notifications You must be signed in to change notification settings

SteelSeries/go-wca

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-wca

CircleCI MIT License

Pure golang bindings for Windows Core Audio API. The cgo is not required.

Features

  • Rendering audio with shared timer driven mode.
  • Rendering audio with event driven mode.
  • Capturing audio with shared timer driven mode.
  • Capturing audio with event driven mode.
  • Loopback capturing with shared timer mode.
  • Loopback capturing with shared event mode.
  • Change volume of master or each channels.
  • Change volume of individual applications.
  • Hook audio device events.

If you're not familiar with Windows Core Audio API, visit the MSDN.

Prerequisites

  • Go 1.13 or later

Usage

The examples are located in _example directory. It helps you to learn how the interfaces can be used.

If you want to build all examples at once, run the command below:

make all VERSION=latest

Then the executables are generated in bin directory.

Documentation

Each APIs in this package correspond to native COM APIs, so that you can refer the documentation on MSDN as a full documentation of this package.

The following list contains the links to the documentation of native API which is available in this package.

Contributing

  1. Fork (https://github.com/moutend/go-wca/fork)
  2. Create a feature branch
  3. Add changes
  4. Run go fmt
  5. Commit your changes
  6. Open a new Pull Request

Author

Yoshiyuki Koyanagi [email protected]

LICENSE

MIT

About

Pure golang bindings for Windows Core Audio API. The `cgo` is not required.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.5%
  • Makefile 0.5%