-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
A sample is a specific sound, while a source is a description of where/how the sound is being emitted. This project initially kept the source and sample together within the same object, but there are noticeable performance gains available when using them as separate objects.
The most notable gain would be that multiple sources using the same sound file don't need to load the sound file multiple times. If we have 10 of the same monster, for instance - they are currently all loading their sound files separately instead of sharing the same resources.
Furthermore, as per issue #5 we also would benefit from caching these sounds outside of IOpenALSample for another performance gain.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels