Compare commits

..

No commits in common. "03e7bdc116abf2e2bd95856446dda6edd9888c89" and "b07e018310a349059ce13e7b275339b721da9938" have entirely different histories.

View File

@ -182,8 +182,8 @@ class Track(RawTrack):
n += b << bit_index
yield n
def rewind(self, bit_count=1):
self.bit_index -= bit_count
def rewind(self, bit_count):
self.bit_index -= 1
if self.bit_index < 0:
self.bit_index = self.bit_count - 1
self.revolutions -= 1