Skip to content

Commit

Permalink
Resize AbstractFifo when changing buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Dec 29, 2023
1 parent 6b5b16a commit e81e851
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Processors/DataThreads/DataBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ void DataBuffer::resize (int chans, int size)
{
buffer.setSize (chans, size);

abstractFifo.setTotalSize(size);

sampleNumberBuffer.malloc (size);
timestampBuffer.malloc (size);
eventCodeBuffer.malloc (size);
Expand Down

0 comments on commit e81e851

Please sign in to comment.