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