Pure golang bindings for Windows Core Audio API. The cgo
is not required.
- 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.
- Go 1.13 or later
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
Then the executables are generated in bin
directory.
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.
- MMDevice API
- Windows Audio Session API
- Fork (https://github.com/moutend/go-wca/fork)
- Create a feature branch
- Add changes
- Run
go fmt
- Commit your changes
- Open a new Pull Request
Yoshiyuki Koyanagi [email protected]
MIT