Added implementation for SelectedDevice, added check on createBuffer