My Logitech usb headset works fine on twinkle and linphone, and on google voice, but when I play a youtube video, sound defaults to the laptop speakers. I tried vDefsound and it errors out, as follows:
rm: cannot remove `/home/johwhi/.asoundrc': No such file or directory
vDefsound will produce that error, but it should not error out. If it does not exist it creates it after that error.
vDefsound works to a degree, but because it creates the .asoundrc file in userspace some applications ignore it and you will still have the same problem.
I made vDefsound based on the information found here. http://www.alsa-project.org
I'm in the middle of a project for my work now, but I will look into what can be done using a file controling routing to the right sound device in /etc/asound.conf
If anyone has time to play with this sooner, please do. It would be nice to come up with a solution that can be built in to the next release of VL.