OpenAL

BlitzMax Forums/BlitzMax Module Tweaks/OpenAL

Vertex(Posted 2007) [#1]
http://www.openal.org/
http://vertex.dreamfall.at/openal/openal101.zip

Don't know, if its work on Linux and/or MacOS. On Windows here works fine.

Sorry, but I haven't time for bigger examples than this:
SuperStrict

Framework Vertex.OpenAL
Import BRL.StandardIO

Global Device  : Byte Ptr, ..
       Context : Byte Ptr


Device = alcOpenDevice(Null)
Context = alcCreateContext(Device, Null)
alcMakeContextCurrent(Context)

Print(String.FromCString(alGetString(AL_VENDOR)))
Print(String.FromCString(alGetString(AL_RENDERER)))

alcDestroyContext(Context)
alcCloseDevice(Device)
End


Any idea, how to load a OGG or MP3 over alutLoadVorbis_LOKI
or alutLoadMP3_LOKI and is this platform idependent?

cu olli