]> git.sesse.net Git - bmusb/commitdiff
Reduce the transfer size a bit, for better cache efficiency.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 30 Sep 2015 18:24:32 +0000 (20:24 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 30 Sep 2015 18:24:32 +0000 (20:24 +0200)
bmusb.cpp

index 00f06e443f387f1b0218ae8284a53b00a7b173da..96ffa58fa21f12e168893fbbb487f2d63f8b412d 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -829,7 +829,7 @@ void BMUSBCapture::start_bm_capture()
                                        size &= ~1023;
                                        size += 1024;
                                }
-                               num_iso_pack = (2 << 20) / size;  // 2 MB.
+                               num_iso_pack = (2 << 18) / size;  // 512 kB.
                                printf("Picking %d packets of 0x%x bytes each\n", num_iso_pack, size);
                        } else {
                                size = 0xc0;