5/1/2023 0 Comments X plane macOpenAL may be unavailable due to a local machine configuration problem, or the user intentionally disabling it with the –no_sound configuration. If X-Plane does use OpenAL for sound on a given platform, there is still no guarantee that OpenAL will be present X-Plane is capable of running even if the sound system is unavailable. OpenAL will never be set up on a platform not supported (e.g. X-Plane 10 will use OpenAL on all three platforms.X-Plane 9 uses OpenAL for sound production on Linux and OS X.X-Plane’s use of OpenAL varies by version. (One or more buffers are played through a source.) The context has some number of buffer objects that contain actual audio data.Each context has one or more “source” objects that represent audio being created in 3-d space.Each context has one “listener” object that represents where the listener is positioned in 3-d space.(This is discussed below.) A context is similar to an OpenGL context. In theory, a device may have more than one context. A “context” provides a container for all OpenAL sounds (and other objects), associated with one device.A “device” is a connection to a renderer (and possibly hardware) that will play audio.OpenAL also supports extensions some implementations may have support for filters and effects.įor the purpose of understanding how OpenAL interacts with X-Plane and the plugin system, OpenAL supports the following opaque objects: Manipulate the sound in 3-d OpenAL will calculate stereo and attenuation effects.Control the pitch and volume of those sounds.OpenAL can be hardware accelerated, although often the user’s implementation will be software. OpenAL is a multichannel audio API targeted at games, modeled after the OpenGL API. This tech note explains how to use OpenAL in an X-Plane Plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |