-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Currently the sample pool takes little account of samples that require positional audio. To fix this, at least three changes are needed:
-Upon creating the sample, the pool must take notice of any parameters that exists to mark a sample as positional or not.
-The sample pool needs to be made responsible for updating positional properties of all samples that depend on positional parameters.
-The OpenAL manager needs to take care of properly updating the listener position, orientation, and velocity. Currently the threaded design prevents this because GetAbsOrigin's are calculated from frame to frame, and are not always valid. The IsAbsQueriesValid function always returns true for threads other than the main thread, making it difficult to implement the update code using this function.