Skip to content

Commit

Permalink
Fixed an overflow error in the PyAudio stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemmstone committed Apr 7, 2024
1 parent 3a38d86 commit 8088753
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Core/audioManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def callback_pyaudio(self, in_data, frame_count, time_info, status):
rms_volume = abs(np.max(audio_data))
volume = int((rms_volume / 32768) * 100)


try:
self.audio_stream_signal.emit(volume)
except RuntimeError:
Expand Down

0 comments on commit 8088753

Please sign in to comment.