1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 15:26:33 -04:00

ScopeVis: fixed setNbStreams method to allocate the memory lines on all streams. Fixes #872

This commit is contained in:
f4exb 2021-06-23 22:06:17 +02:00
parent 66628828ca
commit c4cef5fd41

View File

@ -615,6 +615,11 @@ private:
void setNbStreams(uint32_t nbStreams)
{
m_traceBackBuffersStreams.resize(nbStreams);
for (unsigned int s = 0; s < m_traceBackBuffersStreams.size(); s++) {
m_traceBackBuffersStreams[s].resize(m_memSize);
}
resize(m_traceSize);
}