(self, sample_rate: int)
| 89 | |
| 90 | class BufferedAudioTracker: |
| 91 | def __init__(self, sample_rate: int): |
| 92 | self.sample_rate = sample_rate |
| 93 | self.start_time: Optional[float] = None |
| 94 | self.samples_emitted = 0 |
| 95 | |
| 96 | def add_chunk(self, chunk: np.ndarray) -> None: |
| 97 | if chunk.size == 0: |
nothing calls this directly
no outgoing calls
no test coverage detected