The Sun Studio compiler will not compile code that sets variables in headers via variables. The attached patch fixes the setting of mOutBufferSize to just be 284625 rather than 1.25 * mSamplesPerChunk + 7200. Since mSamplesPerChunk is set to 220500, the value will always be 284625. I added a comment to highlight how it is calculated.
Can this go upstream?