pDevice->bufferSizeInFrames*=6;// <-- Might need to fiddle with this to find a more ideal value. May even be able to just add a fixed amount rather than scaling.
}
// The size of the intermediary buffer needs to be able to fit every fragment.
// The size of the intermediary buffer needs to be able to fit every fragment.