adding sample buffer to the connection listeners