kopia lustrzana https://github.com/erdewit/HiFiScan
Recorded data is volatile, make copy
rodzic
14f2759913
commit
05e36d8a15
|
@ -50,7 +50,7 @@ class Audio:
|
|||
idx = idx2
|
||||
if not playItem.remaining():
|
||||
self.playQ.popleft()
|
||||
self.recorded.emit_threadsafe(in_data)
|
||||
self.recorded.emit_threadsafe(in_data.copy())
|
||||
|
||||
def play(self, sound: np.ndarray):
|
||||
"""Add a sound to the play queue."""
|
||||
|
|
Ładowanie…
Reference in New Issue