Some work on CSDRAudioDevice (not finished yet).