We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba6f8b commit 550d4c2Copy full SHA for 550d4c2
1 file changed
tuney/audio/players.py
@@ -12,6 +12,7 @@ class DataPlayer(Player):
12
def __init__(self, sample_data: SampleData, **kwargs: Any) -> None:
13
self.data = sample_data.data
14
kwargs.setdefault('device', {})['samplerate'] = sample_data.samplerate
15
+ super().__init__(**kwargs)
16
17
def _fill(self, out: np.ndarray) -> bool | None:
18
chunk = self.data.data[self.frame_count : self.frame_count + self.frame_size]
0 commit comments