(self, audio_data: np.ndarray)
| 58 | return self._resample(audio_data, self.upsampler) |
| 59 | |
| 60 | def downsample(self, audio_data: np.ndarray) -> np.ndarray: |
| 61 | return self._resample(audio_data, self.downsampler) |
| 62 | |
| 63 | def from_s16_format(self, audio_data: np.ndarray, channels: int) -> np.ndarray: |
| 64 | if channels == 2: |
no test coverage detected