mirror of
https://github.com/romanz/amodem.git
synced 2026-02-06 16:48:06 +08:00
sampling: remove unused code
This commit is contained in:
@@ -48,10 +48,6 @@ class Sampler(object):
|
||||
def __iter__(self):
|
||||
return self
|
||||
|
||||
def correct(self, offset=0):
|
||||
assert self.freq + offset > 0
|
||||
self.offset += offset
|
||||
|
||||
def next(self):
|
||||
return self._sample() * self.gain
|
||||
|
||||
|
||||
Reference in New Issue
Block a user