BLOG

City Project - Work in progress video 52: New sound manager (using OpenAL)

I've created a simple sound manager using OpenAL (previously, I was using DirectSound/DirectMusic). Now, when a sound asks the manager to be played, a preallocated pool of channels (OpenAL sources) is checked to see if there's one available, in which case, the sound will use it. The manager is not finished, I've yet to implement priorities so a sound using a channel can be stopped to give it to a new one with more priority that needs to be played, but it's already usable:

categories: gamedev, city-project