mirror of
https://github.com/romanz/amodem.git
synced 2026-02-24 16:18:12 +08:00
fix sampling without interpolation
This commit is contained in:
@@ -46,6 +46,7 @@ class Sampler(object):
|
||||
self.take = self._take
|
||||
else:
|
||||
# skip interpolation
|
||||
src = iter(src)
|
||||
self.take = lambda size: common.take(src, size)
|
||||
|
||||
def _take(self, size):
|
||||
|
||||
Reference in New Issue
Block a user