fixed crash when no input or output audio device is found

Ignore-this: f7495d0e40dd3560fd2f34c9feecde9f

darcs-hash:20141110150619-c21fe-fb54813c061bb9b63146086d4461a7c22d5976f2