]> git.sesse.net Git - nageru/blobdiff - bmusb.cpp
Refcount the input frames directly instead of trying to free them after-the-fact...
[nageru] / bmusb.cpp
index 7e2a3bee3f4386e39f6b8573f3dc998086fabeae..80f575fa9765ca1f2610781062977161ff3b3a66 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -54,7 +54,7 @@ atomic<bool> should_quit;
 
 FrameAllocator::~FrameAllocator() {}
 
-#define NUM_QUEUED_FRAMES 8
+#define NUM_QUEUED_FRAMES 16
 class MallocFrameAllocator : public FrameAllocator {
 public:
        MallocFrameAllocator(size_t frame_size);