Skip to content

The sample pool must respect positional audio #9

@Islandstone

Description

@Islandstone

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions