From a81f724bc2d684849c93f1b91773a966387d6288 Mon Sep 17 00:00:00 2001 From: Rodrigo Diaz Date: Sat, 17 Oct 2020 19:52:35 +0100 Subject: [PATCH] Fixed wrong line in usage sample on README.md As per #7. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c6c36b6..8f99592 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ void StartCamera() using (FastJavaByteArray buffer = new FastJavaByteArray(numBytes)) { // allocate new Java byte arrays for Android to use for preview frames - camera.AddCallbackBuffer(new FastJavaByteArray(numBytes)); + camera.AddCallbackBuffer(buffer); } // The using block automatically calls Dispose() on the buffer, which is safe // because it does not automaticaly destroy the Java byte array. It only releases