more changes to support spike source array with both buffered spikes and buffered recording