summaryrefslogtreecommitdiff
path: root/test/dgreftest/compareoutputengine.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-03 20:02:04 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-05 16:19:57 +0200
commita0e2b9398a06ca2ea164c2ffd6fd89f713b93598 (patch)
treef070de47673f32903eae30ddbc57232e2b13db4e /test/dgreftest/compareoutputengine.h
parentea743668192e0921ab46d5e863df5b754ce82656 (diff)
Add support for partial buffers in cache and rendering engine - fixes dropouts on framesize changes for example when looping.
Diffstat (limited to 'test/dgreftest/compareoutputengine.h')
-rw-r--r--test/dgreftest/compareoutputengine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dgreftest/compareoutputengine.h b/test/dgreftest/compareoutputengine.h
index a82116c..89a3a83 100644
--- a/test/dgreftest/compareoutputengine.h
+++ b/test/dgreftest/compareoutputengine.h
@@ -53,4 +53,6 @@ private:
std::string file;
sample_t buffer[4096 * 16];
std::size_t diff_samples{0};
+ sample_t ref_buffer[sizeof(buffer) / sizeof(sample_t)];
+ size_t pos{0};
};