mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
update openal
This commit is contained in:
parent
62f3b93ff9
commit
6721a6b021
287 changed files with 33851 additions and 27325 deletions
|
|
@ -12,7 +12,7 @@ What Is It?
|
|||
|
||||
Originally developed in the 1970s by Michael Gerzon and a team others,
|
||||
Ambisonics was created as a means of recording and playing back 3D sound.
|
||||
Taking advantage of the way sound waves propogate, it is possible to record a
|
||||
Taking advantage of the way sound waves propagate, it is possible to record a
|
||||
fully 3D soundfield using as few as 4 channels (or even just 3, if you don't
|
||||
mind dropping down to 2 dimensions like many surround sound systems are). This
|
||||
representation is called B-Format. It was designed to handle audio independent
|
||||
|
|
@ -63,7 +63,7 @@ remain correct over a larger area around the center of the speakers.
|
|||
In addition, Ambisonics can encode the near-field effect of sounds, effectively
|
||||
capturing the sound distance. The near-field effect is a subtle low-frequency
|
||||
boost as a result of wave-front curvature, and properly compensating for this
|
||||
occuring with the output speakers (as well as emulating it with a synthesized
|
||||
occurring with the output speakers (as well as emulating it with a synthesized
|
||||
soundfield) can create an improved sense of distance for sounds that move near
|
||||
or far.
|
||||
|
||||
|
|
|
|||
|
|
@ -78,6 +78,15 @@ Same as for __ALSOFT_REVERSE_Z, but for Y (up/down) panning.
|
|||
__ALSOFT_REVERSE_X
|
||||
Same as for __ALSOFT_REVERSE_Z, but for X (left/right) panning.
|
||||
|
||||
__ALSOFT_DEFAULT_ERROR
|
||||
Applications that erroneously call alGetError prior to setting a context as
|
||||
current may not like that OpenAL Soft returns 0xA004 (AL_INVALID_OPERATION),
|
||||
indicating that the call could not be executed as there's no context to get the
|
||||
error value from. This can be set to 0 (AL_NO_ERROR) to let such apps pass the
|
||||
check despite the problem. Other applications, however, may see AL_NO_ERROR
|
||||
returned and assume any previous AL calls succeeded when they actually failed,
|
||||
so this should only be set when necessary.
|
||||
|
||||
__ALSOFT_SUSPEND_CONTEXT
|
||||
Due to the OpenAL spec not being very clear about them, behavior of the
|
||||
alcSuspendContext and alcProcessContext methods has varied, and because of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue