openal

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package openal provides purego-based Go bindings for the macOS OpenAL framework.

Apple documentation: https://developer.apple.com/documentation/openal

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlBuffer3f

func AlBuffer3f(bid uint, param int, value1 float32, value2 float32, value3 float32)

C function: alBuffer3f

func AlBuffer3i

func AlBuffer3i(bid uint, param int, value1 int, value2 int, value3 int)

C function: alBuffer3i

func AlBufferData

func AlBufferData(bid uint, format int, data unsafe.Pointer, size int, freq int)

C function: alBufferData

func AlBufferf

func AlBufferf(bid uint, param int, value float32)

C function: alBufferf

func AlBufferfv

func AlBufferfv(bid uint, param int, values *float32)

C function: alBufferfv

func AlBufferi

func AlBufferi(bid uint, param int, value int)

C function: alBufferi

func AlBufferiv

func AlBufferiv(bid uint, param int, values *int)

C function: alBufferiv

func AlDeleteBuffers

func AlDeleteBuffers(n int, buffers *uint)

C function: alDeleteBuffers

func AlDeleteSources

func AlDeleteSources(n int, sources *uint)

C function: alDeleteSources

func AlDisable

func AlDisable(capability int)

C function: alDisable

func AlDistanceModel

func AlDistanceModel(distanceModel int)

C function: alDistanceModel

func AlDopplerFactor

func AlDopplerFactor(value float32)

C function: alDopplerFactor

func AlDopplerVelocity

func AlDopplerVelocity(value float32)

C function: alDopplerVelocity

func AlEnable

func AlEnable(capability int)

C function: alEnable

func AlGenBuffers

func AlGenBuffers(n int, buffers *uint)

C function: alGenBuffers

func AlGenSources

func AlGenSources(n int, sources *uint)

C function: alGenSources

func AlGetBoolean

func AlGetBoolean(param int) int8

C function: alGetBoolean

func AlGetBooleanv

func AlGetBooleanv(param int, data *int8)

C function: alGetBooleanv

func AlGetBuffer3f

func AlGetBuffer3f(bid uint, param int, value1 *float32, value2 *float32, value3 *float32)

C function: alGetBuffer3f

func AlGetBuffer3i

func AlGetBuffer3i(bid uint, param int, value1 *int, value2 *int, value3 *int)

C function: alGetBuffer3i

func AlGetBufferf

func AlGetBufferf(bid uint, param int, value *float32)

C function: alGetBufferf

func AlGetBufferfv

func AlGetBufferfv(bid uint, param int, values *float32)

C function: alGetBufferfv

func AlGetBufferi

func AlGetBufferi(bid uint, param int, value *int)

C function: alGetBufferi

func AlGetBufferiv

func AlGetBufferiv(bid uint, param int, values *int)

C function: alGetBufferiv

func AlGetDouble

func AlGetDouble(param int) float64

C function: alGetDouble

func AlGetDoublev

func AlGetDoublev(param int, data *float64)

C function: alGetDoublev

func AlGetEnumValue

func AlGetEnumValue(ename *int8) int

C function: alGetEnumValue

func AlGetError

func AlGetError() int

C function: alGetError

func AlGetFloat

func AlGetFloat(param int) float32

C function: alGetFloat

func AlGetFloatv

func AlGetFloatv(param int, data *float32)

C function: alGetFloatv

func AlGetInteger

func AlGetInteger(param int) int

C function: alGetInteger

func AlGetIntegerv

func AlGetIntegerv(param int, data *int)

C function: alGetIntegerv

func AlGetListener3f

func AlGetListener3f(param int, value1 *float32, value2 *float32, value3 *float32)

C function: alGetListener3f

func AlGetListener3i

func AlGetListener3i(param int, value1 *int, value2 *int, value3 *int)

C function: alGetListener3i

func AlGetListenerf

func AlGetListenerf(param int, value *float32)

C function: alGetListenerf

func AlGetListenerfv

func AlGetListenerfv(param int, values *float32)

C function: alGetListenerfv

func AlGetListeneri

func AlGetListeneri(param int, value *int)

C function: alGetListeneri

func AlGetListeneriv

func AlGetListeneriv(param int, values *int)

C function: alGetListeneriv

func AlGetProcAddress

func AlGetProcAddress(fname *int8) unsafe.Pointer

C function: alGetProcAddress

func AlGetSource3f

func AlGetSource3f(sid uint, param int, value1 *float32, value2 *float32, value3 *float32)

C function: alGetSource3f

func AlGetSource3i

func AlGetSource3i(sid uint, param int, value1 *int, value2 *int, value3 *int)

C function: alGetSource3i

func AlGetSourcef

func AlGetSourcef(sid uint, param int, value *float32)

C function: alGetSourcef

func AlGetSourcefv

func AlGetSourcefv(sid uint, param int, values *float32)

C function: alGetSourcefv

func AlGetSourcei

func AlGetSourcei(sid uint, param int, value *int)

C function: alGetSourcei

func AlGetSourceiv

func AlGetSourceiv(sid uint, param int, values *int)

C function: alGetSourceiv

func AlGetString

func AlGetString(param int) *int8

C function: alGetString

func AlIsBuffer

func AlIsBuffer(bid uint) int8

C function: alIsBuffer

func AlIsEnabled

func AlIsEnabled(capability int) int8

C function: alIsEnabled

func AlIsExtensionPresent

func AlIsExtensionPresent(extname *int8) int8

C function: alIsExtensionPresent

func AlIsSource

func AlIsSource(sid uint) int8

C function: alIsSource

func AlListener3f

func AlListener3f(param int, value1 float32, value2 float32, value3 float32)

C function: alListener3f

func AlListener3i

func AlListener3i(param int, value1 int, value2 int, value3 int)

C function: alListener3i

func AlListenerf

func AlListenerf(param int, value float32)

C function: alListenerf

func AlListenerfv

func AlListenerfv(param int, values *float32)

C function: alListenerfv

func AlListeneri

func AlListeneri(param int, value int)

C function: alListeneri

func AlListeneriv

func AlListeneriv(param int, values *int)

C function: alListeneriv

func AlSource3f

func AlSource3f(sid uint, param int, value1 float32, value2 float32, value3 float32)

C function: alSource3f

func AlSource3i

func AlSource3i(sid uint, param int, value1 int, value2 int, value3 int)

C function: alSource3i

func AlSourcePause

func AlSourcePause(sid uint)

C function: alSourcePause

func AlSourcePausev

func AlSourcePausev(ns int, sids *uint)

C function: alSourcePausev

func AlSourcePlay

func AlSourcePlay(sid uint)

C function: alSourcePlay

func AlSourcePlayv

func AlSourcePlayv(ns int, sids *uint)

C function: alSourcePlayv

func AlSourceQueueBuffers

func AlSourceQueueBuffers(sid uint, numEntries int, bids *uint)

C function: alSourceQueueBuffers

func AlSourceRewind

func AlSourceRewind(sid uint)

C function: alSourceRewind

func AlSourceRewindv

func AlSourceRewindv(ns int, sids *uint)

C function: alSourceRewindv

func AlSourceStop

func AlSourceStop(sid uint)

C function: alSourceStop

func AlSourceStopv

func AlSourceStopv(ns int, sids *uint)

C function: alSourceStopv

func AlSourceUnqueueBuffers

func AlSourceUnqueueBuffers(sid uint, numEntries int, bids *uint)

C function: alSourceUnqueueBuffers

func AlSourcef

func AlSourcef(sid uint, param int, value float32)

C function: alSourcef

func AlSourcefv

func AlSourcefv(sid uint, param int, values *float32)

C function: alSourcefv

func AlSourcei

func AlSourcei(sid uint, param int, value int)

C function: alSourcei

func AlSourceiv

func AlSourceiv(sid uint, param int, values *int)

C function: alSourceiv

func AlSpeedOfSound

func AlSpeedOfSound(value float32)

C function: alSpeedOfSound

func AlcCaptureCloseDevice

func AlcCaptureCloseDevice(device unsafe.Pointer) int8

C function: alcCaptureCloseDevice

func AlcCaptureOpenDevice

func AlcCaptureOpenDevice(devicename *int8, frequency uint, format int, buffersize int) unsafe.Pointer

C function: alcCaptureOpenDevice

func AlcCaptureSamples

func AlcCaptureSamples(device unsafe.Pointer, buffer unsafe.Pointer, samples int)

C function: alcCaptureSamples

func AlcCaptureStart

func AlcCaptureStart(device unsafe.Pointer)

C function: alcCaptureStart

func AlcCaptureStop

func AlcCaptureStop(device unsafe.Pointer)

C function: alcCaptureStop

func AlcCloseDevice

func AlcCloseDevice(device unsafe.Pointer) int8

C function: alcCloseDevice

func AlcCreateContext

func AlcCreateContext(device unsafe.Pointer, attrlist *int) unsafe.Pointer

C function: alcCreateContext

func AlcDestroyContext

func AlcDestroyContext(context_ unsafe.Pointer)

C function: alcDestroyContext

func AlcGetContextsDevice

func AlcGetContextsDevice(context_ unsafe.Pointer) unsafe.Pointer

C function: alcGetContextsDevice

func AlcGetCurrentContext

func AlcGetCurrentContext() unsafe.Pointer

C function: alcGetCurrentContext

func AlcGetEnumValue

func AlcGetEnumValue(device unsafe.Pointer, enumname *int8) int

C function: alcGetEnumValue

func AlcGetError

func AlcGetError(device unsafe.Pointer) int

C function: alcGetError

func AlcGetIntegerv

func AlcGetIntegerv(device unsafe.Pointer, param int, size int, data *int)

C function: alcGetIntegerv

func AlcGetProcAddress

func AlcGetProcAddress(device unsafe.Pointer, funcname *int8) unsafe.Pointer

C function: alcGetProcAddress

func AlcGetString

func AlcGetString(device unsafe.Pointer, param int) *int8

C function: alcGetString

func AlcIsExtensionPresent

func AlcIsExtensionPresent(device unsafe.Pointer, extname *int8) int8

C function: alcIsExtensionPresent

func AlcMakeContextCurrent

func AlcMakeContextCurrent(context_ unsafe.Pointer) int8

C function: alcMakeContextCurrent

func AlcOpenDevice

func AlcOpenDevice(devicename *int8) unsafe.Pointer

C function: alcOpenDevice

func AlcProcessContext

func AlcProcessContext(context_ unsafe.Pointer)

C function: alcProcessContext

func AlcSuspendContext

func AlcSuspendContext(context_ unsafe.Pointer)

C function: alcSuspendContext

func AlutExit

func AlutExit() unsafe.Pointer

C function: alutExit

func AlutInit

func AlutInit(argc *int, argv *int8) unsafe.Pointer

C function: alutInit

func AlutLoadWAVFile

func AlutLoadWAVFile(file *int8, format *int, data unsafe.Pointer, size *int, freq *int) unsafe.Pointer

C function: alutLoadWAVFile

func AlutLoadWAVMemory

func AlutLoadWAVMemory(memory *int8, format *int, data unsafe.Pointer, size *int, freq *int) unsafe.Pointer

C function: alutLoadWAVMemory

func AlutUnloadWAV

func AlutUnloadWAV(format int, data unsafe.Pointer, size int, freq int) unsafe.Pointer

C function: alutUnloadWAV

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

Types

type ALCcontext_struct

type ALCcontext_struct struct{}

ALCcontext_struct is an opaque type.

type ALCdevice_struct

type ALCdevice_struct struct{}

ALCdevice_struct is an opaque type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL