bit_stop = int(samplenum)
self.putbit(bit, bit_start, bit_stop)
self.last_bit_pos = int(samplenum)
if self.oldpl <= self.halfbit_limit:
if self.last_bit_pos <= self.oldsamplenum - self.oldpl:
bit_stop = int(samplenum)
self.putbit(bit, bit_start, bit_stop)
self.last_bit_pos = int(samplenum)
if self.oldpl <= self.halfbit_limit:
if self.last_bit_pos <= self.oldsamplenum - self.oldpl: