Added comment about static temporary sample buffer.
Locking during the buffer copy and callback.