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:
parent
66628828ca
commit
c4cef5fd41
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user