(self)
| 381 | return total |
| 382 | |
| 383 | def check_fullness(self): |
| 384 | if self.fullness > LATENCY_BUFFER_SIZE: |
| 385 | if not self.too_full: |
| 386 | self.send(0, CMD_PING, b('rttest')) |
| 387 | self.too_full = True |
| 388 | |
| 389 | def send(self, channel, cmd, data): |
| 390 | assert isinstance(data, bytes) |