modify codes for alsa device
add .gitignore file