Registry / utility / moutend-go-wca

moutend-go-wca

JSON →
library0.3.0gogounverified

Package go-wca provides Go bindings for Windows Core Audio APIs.

go get github.com/moutend/go-wca
INSTALL
IMPORT
SIG · MOUTEND-GO-WCA
M
moutend-go-wca
utilitygov0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wca
github.com/moutend/go-wca

Creates a Windows Core Audio device enumerator.

package main import ( "github.com/moutend/go-wca" ) func main() { mmDeviceEnumerator, _ := wca.CoCreateInstance(wca.CLSID_MMDeviceEnumerator, nil, wca.CLSCTX_ALL, wca.IID_IMMDeviceEnumerator) defer mmDeviceEnumerator.Release() }
Debug
Known issues
gotchaWindows only; requires COM initialization.
fix
Call wca.CoInitializeEx before using the package.
affects: all
Upgrade
Version history
0.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
moutend-go-wca — go get moutend-go-wca · libregistry