1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 12:51:49 -05: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) void setNbStreams(uint32_t nbStreams)
{ {
m_traceBackBuffersStreams.resize(nbStreams); m_traceBackBuffersStreams.resize(nbStreams);
for (unsigned int s = 0; s < m_traceBackBuffersStreams.size(); s++) {
m_traceBackBuffersStreams[s].resize(m_memSize);
}
resize(m_traceSize); resize(m_traceSize);
} }