Versions in this module Expand all Collapse all v1 v1.0.1 Feb 29, 2024 v1.0.0 Feb 29, 2024 Changes in this version + const CapabilityDistanceModel — darwin/amd64, linux/amd64, windows/amd64 + const ExponentDistance — darwin/amd64, linux/amd64, windows/amd64 + const ExponentDistanceClamped — 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 Initial — darwin/amd64, linux/amd64, windows/amd64 + const InvalidEnum — darwin/amd64, linux/amd64, windows/amd64 + const InvalidName — darwin/amd64, linux/amd64, windows/amd64 + const InvalidOperation — darwin/amd64, linux/amd64, windows/amd64 + const InvalidValue — darwin/amd64, linux/amd64, windows/amd64 + const InverseDistance — darwin/amd64, linux/amd64, windows/amd64 + const InverseDistanceClamped — darwin/amd64, linux/amd64, windows/amd64 + const LinearDistance — darwin/amd64, linux/amd64, windows/amd64 + const LinearDistanceClamped — darwin/amd64, linux/amd64, windows/amd64 + const OutOfMemory — darwin/amd64, linux/amd64, windows/amd64 + const Paused — darwin/amd64, linux/amd64, windows/amd64 + const Playing — darwin/amd64, linux/amd64, windows/amd64 + const Stopped — darwin/amd64, linux/amd64, windows/amd64 + func CloseDevice() — darwin/amd64, linux/amd64, windows/amd64 + func DeleteBuffers(buffer ...Buffer) — darwin/amd64, linux/amd64, windows/amd64 + func DeleteSources(source ...Source) — darwin/amd64, linux/amd64, windows/amd64 + func DeviceError() int32 — darwin/amd64, linux/amd64, windows/amd64 + func Disable(c Capability) — darwin/amd64, linux/amd64, windows/amd64 + func DistanceModel() int32 — darwin/amd64, linux/amd64, windows/amd64 + func DopplerFactor() float32 — darwin/amd64, linux/amd64, windows/amd64 + func DopplerVelocity() float32 — darwin/amd64, linux/amd64, windows/amd64 + func Enable(c Capability) — darwin/amd64, linux/amd64, windows/amd64 + func Enabled(c Capability) bool — darwin/amd64, linux/amd64, windows/amd64 + func Error() int32 — darwin/amd64, linux/amd64, windows/amd64 + func Extensions() string — darwin/amd64, linux/amd64, windows/amd64 + func GetListenerf(param int) float32 — darwin/amd64, linux/amd64, windows/amd64 + func GetListenerfv(param int, v []float32) — darwin/amd64, linux/amd64, windows/amd64 + func GetString(param int) string — darwin/amd64, linux/amd64, windows/amd64 + func Getb(param int) bool — darwin/amd64, linux/amd64, windows/amd64 + func Getbv(param int, v []bool) — darwin/amd64, linux/amd64, windows/amd64 + func Getf(param int) float32 — darwin/amd64, linux/amd64, windows/amd64 + func Getfv(param int, v []float32) — darwin/amd64, linux/amd64, windows/amd64 + func Geti(param int) int32 — darwin/amd64, linux/amd64, windows/amd64 + func Getiv(param int, v []int32) — darwin/amd64, linux/amd64, windows/amd64 + func ListenerGain() float32 — darwin/amd64, linux/amd64, windows/amd64 + func OpenDevice() error — darwin/amd64, linux/amd64, windows/amd64 + func PauseSources(source ...Source) — darwin/amd64, linux/amd64, windows/amd64 + func PlaySources(source ...Source) — darwin/amd64, linux/amd64, windows/amd64 + func Renderer() string — darwin/amd64, linux/amd64, windows/amd64 + func RewindSources(source ...Source) — darwin/amd64, linux/amd64, windows/amd64 + func SetDistanceModel(v int32) — darwin/amd64, linux/amd64, windows/amd64 + func SetDopplerFactor(v float32) — darwin/amd64, linux/amd64, windows/amd64 + func SetDopplerVelocity(v float32) — darwin/amd64, linux/amd64, windows/amd64 + func SetListenerGain(v float32) — darwin/amd64, linux/amd64, windows/amd64 + func SetListenerOrientation(v Orientation) — darwin/amd64, linux/amd64, windows/amd64 + func SetListenerPosition(v Vector) — darwin/amd64, linux/amd64, windows/amd64 + func SetListenerVelocity(v Vector) — darwin/amd64, linux/amd64, windows/amd64 + func SetListenerf(param int, v float32) — darwin/amd64, linux/amd64, windows/amd64 + func SetListenerfv(param int, v []float32) — darwin/amd64, linux/amd64, windows/amd64 + func SetSpeedOfSound(v float32) — darwin/amd64, linux/amd64, windows/amd64 + func SpeedOfSound() float32 — darwin/amd64, linux/amd64, windows/amd64 + func StopSources(source ...Source) — darwin/amd64, linux/amd64, windows/amd64 + func Vendor() string — darwin/amd64, linux/amd64, windows/amd64 + func Version() string — darwin/amd64, linux/amd64, windows/amd64 + type Buffer uint32 — darwin/amd64, linux/amd64, windows/amd64 + func GenBuffers(n int) []Buffer + func (b Buffer) Bits() int32 + func (b Buffer) BufferData(format uint32, data []byte, freq int32) + func (b Buffer) Channels() int32 + func (b Buffer) Frequency() int32 + func (b Buffer) Geti(param int) int32 + func (b Buffer) Size() int32 + func (b Buffer) Valid() bool + type Capability int32 — darwin/amd64, linux/amd64, windows/amd64 + type Orientation struct — darwin/amd64, linux/amd64, windows/amd64 + Forward Vector + Up Vector + func ListenerOrientation() Orientation + type Source uint32 — darwin/amd64, linux/amd64, windows/amd64 + func GenSources(n int) []Source + func (s Source) BuffersProcessed() int32 + func (s Source) BuffersQueued() int32 + func (s Source) Gain() float32 + func (s Source) Getf(param int) float32 + func (s Source) Getfv(param int, v []float32) + func (s Source) Geti(param int) int32 + func (s Source) MaxGain() float32 + func (s Source) MinGain() float32 + func (s Source) OffsetByte() int32 + func (s Source) OffsetSample() int32 + func (s Source) OffsetSeconds() int32 + func (s Source) Orientation() Orientation + func (s Source) Position() Vector + func (s Source) QueueBuffers(buffer ...Buffer) + func (s Source) SetGain(v float32) + func (s Source) SetMaxGain(v float32) + func (s Source) SetMinGain(v float32) + func (s Source) SetOrientation(o Orientation) + func (s Source) SetPosition(v Vector) + func (s Source) SetVelocity(v Vector) + func (s Source) Setf(param int, v float32) + func (s Source) Setfv(param int, v []float32) + func (s Source) Seti(param int, v int32) + func (s Source) State() int32 + func (s Source) UnqueueBuffers(buffer ...Buffer) + func (s Source) Velocity() Vector + type Vector [3]float32 — darwin/amd64, linux/amd64, windows/amd64 + func ListenerPosition() Vector + func ListenerVelocity() Vector