Skip to content
Islandstone edited this page Sep 14, 2010 · 2 revisions

The sample pool is an object that manages all the samples. It takes care of the more redundant tasks that are affiliated with using IOpenALSample related instances and ultimately aims to help reduce the amount of code required to play audio in Source.

Instead of publishing pointers to each sample to the game code, the sample pool uses handles to identify samples. With a handle, the sample pool can identify a sample and modify it according to the callers desire.