buffer in shared memory
preview triggered by clock