/*
* Copyright 2011 Drew Fisher <drew.m.fisher@gmail.com>. All rights reserved.
+ * Copyright (C) 2016 Antonio Ospite <ao2@ao2.it>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
}
}
+ libusb_set_auto_detach_kernel_driver(dev, 1);
+
ret = libusb_claim_interface(dev, KINECT_AUDIO_INTERFACE);
if (ret < 0) {
fprintf(stderr, "libusb_claim_interface failed: %s\n",
goto out_libusb_close;
}
- /*
+ /*
* Checking that the configuration has not changed, as suggested in
* http://libusb.sourceforge.net/api-1.0/caveats.html
*/