Josh Blum
3f5e373ee4
replace off_t with size_t to match system pointer size
...
I was having an issue with size of off_t on a multi-gigabit file.
This may have been related to long being a signed 32 bits on MSVC.
But I think there is good reason to use size_t here in general:
https://stackoverflow.com/questions/10634629/what-are-the-usage-differences-between-size-t-and-off-t
2017-11-25 16:06:08 -06:00
Eoin Mcloughlin
23490a0954
Fixing use-after-free resulting in heap corruption
2016-12-06 21:43:16 +00:00
schneider
d3754785b0
feat(plotview): Recommend a decimation based on the tuner BW
2016-08-31 22:33:48 +01:00
Mike Walters
20c90635d3
rotator: Set the correct phase at the start of a block
...
Previously the phase of the rotator depended on state of the previous run.
This could've been from any block so it was unlikely to be continuous and
led to the phase of the filtered signal changing on every repaint and
introduced discontinuities between block boundaries.
This change passes the first sample ID into the flowgraph as a tag and
the rotator uses this to set the initial phase.
2016-04-28 01:06:02 +01:00
Mike Walters
43a77e8f6d
samplebuffer: Acquire lock during work function
2016-04-03 19:13:43 +01:00
Mike Walters
c66c708157
Style
2016-03-04 17:03:42 +00:00
Mike Walters
fffefbe4be
samplesource: Add sample rate property
2016-03-04 17:03:25 +00:00
Mike Walters
12de91d039
samplebuffer: Unsubscribe from src on destruct
2016-03-04 15:54:23 +00:00
Mike Walters
ffdd314f78
samplebuffer: Fix invalidateEvent typos
2016-03-04 13:15:25 +00:00
Mike Walters
b789d3a295
samplesource: Add subscription functionality
2016-03-04 13:15:21 +00:00
Mike Walters
5728d46bba
waveform: Fix erroneous shared_ptr
2016-01-11 03:48:21 +00:00
Mike Walters
3aec698450
WIP Style
2016-01-11 02:04:39 +00:00
Mike Walters
b349145d91
Template SampleSource
2015-12-30 22:57:57 +00:00
Mike Walters
ceac834103
Refactor getSamples to return a unique_ptr
2015-12-29 20:42:32 +00:00
Mike Walters
20d4b0c052
Add generic sample buffer class
2015-12-04 01:17:16 +00:00