From 64568304a31f00588d7cd69d6edfb574a5fe3ad8 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 5 Oct 2015 22:48:24 +0200 Subject: [PATCH] Document alternates 3 and 4. --- bmusb.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)); -- 2.39.2