Implement alsa buffer copying