From: Steinar H. Gunderson Date: Mon, 5 Oct 2015 20:48:24 +0000 (+0200) Subject: Document alternates 3 and 4. X-Git-Tag: 0.4~60 X-Git-Url: https://git.sesse.net/?p=bmusb;a=commitdiff_plain;h=64568304a31f00588d7cd69d6edfb574a5fe3ad8 Document alternates 3 and 4. --- diff --git a/bmusb.cpp b/bmusb.cpp index a176f93..16da5f0 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -682,6 +682,9 @@ void BMUSBCapture::configure_card() // Alternate setting 1 is output, alternate setting 2 is input. // Card is reset when switching alternates, so the driver uses // this “double switch” when it wants to reset. + // + // There's also alternate settings 3 and 4, which seem to be + // like 1 and 2 except they advertise less bandwidth needed. rc = libusb_set_interface_alt_setting(devh, /*interface=*/0, /*alternate_setting=*/1); if (rc < 0) { fprintf(stderr, "Error setting alternate 1: %s\n", libusb_error_name(rc));