Fixes bugs related to raw buffers being passed to playBuffer.