remove use of memcpy
shmsrc~ convert sample format and surpport variable packet sizes