Compare commits
2 Commits
b07e018310
...
03e7bdc116
Author | SHA1 | Date |
---|---|---|
4am | 03e7bdc116 | |
kris | 8607aacc15 |
|
@ -182,8 +182,8 @@ class Track(RawTrack):
|
|||
n += b << bit_index
|
||||
yield n
|
||||
|
||||
def rewind(self, bit_count):
|
||||
self.bit_index -= 1
|
||||
def rewind(self, bit_count=1):
|
||||
self.bit_index -= bit_count
|
||||
if self.bit_index < 0:
|
||||
self.bit_index = self.bit_count - 1
|
||||
self.revolutions -= 1
|
||||
|
|
Loading…
Reference in New Issue