Class for utilizing memory in the stream cache budget for an unrelated, temporary audio-based feature. Allows us to borrow from budgeted memory for audio features that would otherwise not fit in the overall memory budget.
Usage:
- Create an instance of this class on an object or subsystem where want to track memory usage
- Memory usage will immediately be taken out of the Audio Stream Cache budget on construction of the object
- Update memory usage via this class as necessary.
- Deleting the instance will automatically reset the memory usage to 0