Allow auto-resizing of track list, start off with a mere 4 instead of 100 and double it every time we run out of space

This commit is contained in:
Thulinma 2024-01-20 21:03:33 +01:00
parent d0374812e4
commit 470e4fc631
3 changed files with 94 additions and 8 deletions

View file

@ -532,6 +532,7 @@ namespace DTSC{
void sBufMem(size_t trackCount = DEFAULT_TRACK_COUNT);
void sBufShm(const std::string &_streamName, size_t trackCount = DEFAULT_TRACK_COUNT, bool master = true, bool autoBackOff = true);
void streamInit(size_t trackCount = DEFAULT_TRACK_COUNT);
void resizeTrackList(size_t newTrackCount);
std::string streamName;