implement openal hrtf audio support
- upgrade openal version
- add support to create openal context with hrtf enabled
- add option in audio settings for hrtf enablement
- add static property on Audio class for runtime toggling of hrtf
- fix bug with left/right and front/back being reversed
This commit is contained in:
@@ -331,6 +331,11 @@ void AudioBackendXAudio2::Listener_TransformChanged(AudioListener* listener)
|
||||
}
|
||||
}
|
||||
|
||||
void AudioBackendXAudio2::Listener_ReinitializeAll()
|
||||
{
|
||||
// TODO: Implement XAudio2 reinitialization; read HRTF audio value from Audio class
|
||||
}
|
||||
|
||||
void AudioBackendXAudio2::Source_OnAdd(AudioSource* source)
|
||||
{
|
||||
// Skip if has no clip (needs audio data to create a source - needs data format information)
|
||||
|
||||
Reference in New Issue
Block a user