X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb%2Fbmusb.h;fp=bmusb%2Fbmusb.h;h=a484496bd6be5cd0aa83512258c0e87f75a79978;hb=9dd6b94f84be634306e1266e2f65479fef76a10f;hp=b1861efb6ddf045ae7d6a49a31d2c4667e314a25;hpb=f6a842bfac09c60124905875f9bd02aa1def250e;p=bmusb diff --git a/bmusb/bmusb.h b/bmusb/bmusb.h index b1861ef..a484496 100644 --- a/bmusb/bmusb.h +++ b/bmusb/bmusb.h @@ -31,6 +31,7 @@ class FrameAllocator { struct Frame { uint8_t *data = nullptr; uint8_t *data2 = nullptr; // Only if interleaved == true. + uint8_t *data_copy = nullptr; // Will get a non-interleaved copy if not nullptr. size_t len = 0; // Number of bytes we actually have. size_t size = 0; // Number of bytes we have room for. size_t overflow = 0;