Versions in this module Expand all Collapse all v1 v1.0.0 Mar 13, 2024 Changes in this version + const AllAttributes — darwin/amd64, linux/amd64, windows/amd64 + const AttributesSize — darwin/amd64, linux/amd64, windows/amd64 + const CaptureDefaultDeviceSpecifier — darwin/amd64, linux/amd64, windows/amd64 + const CaptureDeviceSpecifier — darwin/amd64, linux/amd64, windows/amd64 + const CaptureSamples — darwin/amd64, linux/amd64, windows/amd64 + const DefaultDeviceSpecifier — darwin/amd64, linux/amd64, windows/amd64 + const DeviceSpecifier — darwin/amd64, linux/amd64, windows/amd64 + const Extensions — darwin/amd64, linux/amd64, windows/amd64 + const FormatMono16 — darwin/amd64, linux/amd64, windows/amd64 + const FormatMono8 — darwin/amd64, linux/amd64, windows/amd64 + const FormatStereo16 — darwin/amd64, linux/amd64, windows/amd64 + const FormatStereo8 — darwin/amd64, linux/amd64, windows/amd64 + const Frequency — darwin/amd64, linux/amd64, windows/amd64 + const InvalidContext — darwin/amd64, linux/amd64, windows/amd64 + const InvalidDevice — darwin/amd64, linux/amd64, windows/amd64 + const InvalidEnum — darwin/amd64, linux/amd64, windows/amd64 + const InvalidValue — darwin/amd64, linux/amd64, windows/amd64 + const MajorVersion — darwin/amd64, linux/amd64, windows/amd64 + const MinorVersion — darwin/amd64, linux/amd64, windows/amd64 + const MonoSources — darwin/amd64, linux/amd64, windows/amd64 + const NoError — darwin/amd64, linux/amd64, windows/amd64 + const OutOfMemory — darwin/amd64, linux/amd64, windows/amd64 + const Refresh — darwin/amd64, linux/amd64, windows/amd64 + const StereoSources — darwin/amd64, linux/amd64, windows/amd64 + const Sync — darwin/amd64, linux/amd64, windows/amd64 + const VOLUMEMAX — darwin/amd64, linux/amd64, windows/amd64 + const VOLUMEMIN — darwin/amd64, linux/amd64, windows/amd64 + type ALCcontext struct — windows/amd64 + type ALCdevice struct — windows/amd64 + type CaptureDevice struct — darwin/amd64, linux/amd64, windows/amd64 + func CaptureOpenDevice(name string, freq uint32, format uint32, size uint32) *CaptureDevice + func (self *CaptureDevice) CaptureCloseDevice() bool + func (self *CaptureDevice) CaptureSamples(size uint32) (data []byte) + func (self *CaptureDevice) CaptureStart() + func (self *CaptureDevice) CaptureStop() + func (self *CaptureDevice) CloseDevice() bool + type Context struct — darwin/amd64, linux/amd64, windows/amd64 + var NullContext Context + func CurrentContext() *Context + func (self *Context) Activate() bool + func (self *Context) Destroy() + func (self *Context) GetDevice() *Device + func (self *Context) Process() + func (self *Context) Suspend() + type Device struct — darwin/amd64, linux/amd64, windows/amd64 + func OpenDevice(name string) *Device + func (self *Device) CloseDevice() bool + func (self *Device) CreateContext() *Context + func (self *Device) GetError() uint32 + func (self *Device) GetInteger(param uint32) int32 + func (self *Device) GetIntegerv(param uint32, size uint32) (result []int32) + type Recorder struct + func Open(gco *coroutine.Coroutines) *Recorder + func (p *Recorder) Close() + func (p *Recorder) Close() error + func (p *Recorder) Loudness() float64