You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the resampler use timedelta for periods (#334)
As a step towards [using proper units], now the resampler uses
`timedelta` for specifying periods. It also includes a couple of cleanup
commits.
- Move private method to the end of the class
- Remove unused timer
- Make the resampling period a `timedelta`
- Make source properties' sampling period a `timedelta`
[using proper units]:
#6
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@
18
18
Notice that the parameter `sampling_period` has been renamed to `input_sampling_period`
19
19
to better distinguish it from the sampling period parameter in the resampler.
20
20
* The serialization feature for the ringbuffer was made more flexible. The `dump` and `load` methods can now work directly with a ringbuffer instance.
21
+
* The `ResamplerConfig` now takes the resampling period as a `timedelta`. The configuration was renamed from `resampling_period_s` to `resampling_period` accordingly.
22
+
* The `SourceProperties` of the resampler now uses a `timedelta` for the input sampling period. The attribute was renamed from `sampling_period_s` to `sampling_period` accordingly.
0 commit comments