mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
In scope+spectrum combo make spectrum inside scope trace
This commit is contained in:
parent
833b8c30c7
commit
770ea3c586
@ -37,6 +37,8 @@ void SpectrumVis::configure(MessageQueue* msgQueue, int fftSize, int overlapPerc
|
|||||||
|
|
||||||
void SpectrumVis::feedTriggered(SampleVector::const_iterator triggerPoint, SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)
|
void SpectrumVis::feedTriggered(SampleVector::const_iterator triggerPoint, SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)
|
||||||
{
|
{
|
||||||
|
feed(triggerPoint, end, positiveOnly); // normal feed from trigger point
|
||||||
|
/*
|
||||||
if (triggerPoint == end)
|
if (triggerPoint == end)
|
||||||
{
|
{
|
||||||
// the following piece of code allows to terminate the FFT that ends past the end of scope captured data
|
// the following piece of code allows to terminate the FFT that ends past the end of scope captured data
|
||||||
@ -51,7 +53,7 @@ void SpectrumVis::feedTriggered(SampleVector::const_iterator triggerPoint, Sampl
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
feed(triggerPoint, end, positiveOnly); // normal feed from trigger point
|
feed(triggerPoint, end, positiveOnly); // normal feed from trigger point
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpectrumVis::feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)
|
void SpectrumVis::feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)
|
||||||
|
Loading…
Reference in New Issue
Block a user