Are you sure this is enough space?  I'm pretty sure at least the resample buffer requires more space than that.

(Also, m_left_buffer and m_right_buffer are only used from one function, so might as well make them locals.)