Now that we understand how to profile the audio performance system, we can more easily identify our potential problem areas. Keep in mind though, that not everything may be an issue and quite often fixing an issue in one area may cause problems in others. This is why you should constantly go back and profile the audio system with every optimization you perform. What you may see is that not every tip or trick works the way you think it should or the fix may be more costly in other areas.
As we mentioned in the first section, our primary interest will be in optimizing audio system memory and effects of DSP CPU usage. Therefore, we will break up both of these topics into sub-sections and start with audio memory optimization in the next section.