@@ -220,14 +220,14 @@ class RecordNodeTests : public testing::Test {
220220
221221TEST_F (RecordNodeTests, TestInputOutput_Continuous_Single) {
222222 int numSamples = 100 ;
223- tester ->startAcquisition (true );
223+ processor ->startAcquisition ();
224224
225225 auto inputBuffer = createBuffer (1000.0 , 20.0 , numChannels, numSamples);
226226 writeBlock (inputBuffer);
227227
228228 // The record node always flushes its pending writes when stopping acquisition, so we don't need to sleep before
229229 // stopping.
230- tester ->stopAcquisition ();
230+ processor ->stopAcquisition ();
231231
232232 std::vector<int16_t > persistedData;
233233 loadContinuousDatFile (&persistedData);
@@ -245,7 +245,7 @@ TEST_F(RecordNodeTests, TestInputOutput_Continuous_Single) {
245245}
246246
247247TEST_F (RecordNodeTests, TestInputOutput_Continuous_Multiple) {
248- tester ->startAcquisition (true );
248+ processor ->startAcquisition ();
249249
250250 int numSamplesPerBlock = 100 ;
251251 int numBlocks = 8 ;
@@ -256,7 +256,7 @@ TEST_F(RecordNodeTests, TestInputOutput_Continuous_Multiple) {
256256 inputBuffers.push_back (inputBuffer);
257257 }
258258
259- tester ->stopAcquisition ();
259+ processor ->stopAcquisition ();
260260
261261 std::vector<int16_t > persistedData;
262262 loadContinuousDatFile (&persistedData);
@@ -277,8 +277,8 @@ TEST_F(RecordNodeTests, TestInputOutput_Continuous_Multiple) {
277277}
278278
279279TEST_F (RecordNodeTests, TestEmpty) {
280- tester ->startAcquisition (true );
281- tester ->stopAcquisition ();
280+ processor ->startAcquisition ();
281+ processor ->stopAcquisition ();
282282
283283 std::vector<int16_t > persistedData;
284284 loadContinuousDatFile (&persistedData);
@@ -287,7 +287,7 @@ TEST_F(RecordNodeTests, TestEmpty) {
287287
288288TEST_F (RecordNodeTests, TestClipsProperly) {
289289 int numSamples = 100 ;
290- tester ->startAcquisition (true );
290+ processor ->startAcquisition ();
291291
292292 // The min value is actually -32767, not -32768 like the "true" min
293293 std::vector<AudioBuffer<float >> inputBuffers;
@@ -301,7 +301,7 @@ TEST_F(RecordNodeTests, TestClipsProperly) {
301301 writeBlock (inputBuffer);
302302 inputBuffers.push_back (inputBuffer);
303303
304- tester ->stopAcquisition ();
304+ processor ->stopAcquisition ();
305305
306306 std::vector<int16_t > persistedData;
307307 loadContinuousDatFile (&persistedData);
@@ -341,10 +341,10 @@ class CustomBitVolts_RecordNodeTests : public RecordNodeTests {
341341
342342TEST_F (CustomBitVolts_RecordNodeTests, Test_RespectsBitVolts) {
343343 int numSamples = 100 ;
344- tester ->startAcquisition (true );
344+ processor ->startAcquisition ();
345345 auto inputBuffer = createBuffer (1000.0 , 20.0 , numChannels, numSamples);
346346 writeBlock (inputBuffer);
347- tester ->stopAcquisition ();
347+ processor ->stopAcquisition ();
348348
349349 std::vector<int16_t > persistedData;
350350 loadContinuousDatFile (&persistedData);
@@ -370,7 +370,7 @@ TEST_F(CustomBitVolts_RecordNodeTests, Test_RespectsBitVolts) {
370370}
371371
372372TEST_F (RecordNodeTests, Test_PersistsSampleNumbersAndTimestamps) {
373- tester ->startAcquisition (true );
373+ processor ->startAcquisition ();
374374
375375 int numSamples = 5 ;
376376 for (int i = 0 ; i < 3 ; i++) {
@@ -417,7 +417,7 @@ TEST_F(RecordNodeTests, Test_PersistsSampleNumbersAndTimestamps) {
417417}
418418
419419TEST_F (RecordNodeTests, Test_PersistsStructureOeBin) {
420- tester ->startAcquisition (true );
420+ processor ->startAcquisition ();
421421
422422 int numSamples = 5 ;
423423 for (int i = 0 ; i < 3 ; i++) {
@@ -479,7 +479,7 @@ TEST_F(RecordNodeTests, Test_PersistsEvents) {
479479 processor->setRecordEvents (true );
480480 processor->updateSettings ();
481481
482- tester ->startAcquisition (true );
482+ processor ->startAcquisition ();
483483 int numSamples = 5 ;
484484
485485 auto streamId = processor->getDataStreams ()[0 ]->getStreamId ();
@@ -492,7 +492,7 @@ TEST_F(RecordNodeTests, Test_PersistsEvents) {
492492 true );
493493 auto inputBuffer = createBuffer (1000.0 , 20.0 , numChannels, numSamples);
494494 writeBlock (inputBuffer, eventPtr.get ());
495- tester ->stopAcquisition ();
495+ processor ->stopAcquisition ();
496496
497497 std::filesystem::path sampleNumbersPath;
498498 ASSERT_TRUE (eventsPathFor (" sample_numbers.npy" , &sampleNumbersPath));
0 commit comments