I'm spawning a bunch of individual threads within an application that control an encoder channel. I'd like to be able to cleanup resources when bringing down the thread so that I could spawn another one in it's place with different encoder channel settings. The issue is that after I call AL_Encoder_Destroy on the encoder instance created in that thread, the next thread created does not have resources allocated to it. Additionally, I'm destroying every Buffer type, but memory still seems to grow.
Is there an extra step I'm missing when freeing up resources, or is this an issue with the API/driver?
Hello,
I'm spawning a bunch of individual threads within an application that control an encoder channel. I'd like to be able to cleanup resources when bringing down the thread so that I could spawn another one in it's place with different encoder channel settings. The issue is that after I call
AL_Encoder_Destroy
on the encoder instance created in that thread, the next thread created does not have resources allocated to it. Additionally, I'm destroying every Buffer type, but memory still seems to grow.Is there an extra step I'm missing when freeing up resources, or is this an issue with the API/driver?