Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
acrilique committed Dec 17, 2023
1 parent 835cd4a commit de551e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ audio.mp3
audio.wav
.venv/
__pycache__/
.DS_Store
.DS_Store
script.nsi
2 changes: 1 addition & 1 deletion automarkerQt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,11 +1205,11 @@ def callback(self, outdata, frames, time, status):
data = self.data[:, :frames]
self.data = self.data[:, frames:]
if data.shape[1] < frames:
print("I got here")
self.widget_layout.play_pause_button.setText("Play")
self.widget_layout.follow_line_button.setChecked(False)
is_playing = False
outdata[:] = np.zeros((frames, 2), dtype='float32')
raise sd.CallbackStop()
else:
outdata[:] = data.T

Expand Down

0 comments on commit de551e1

Please sign in to comment.