You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I have also run into this issue. I am playing a list of songs in my playlist and it only successfully plays a single song to finish. On the second and every subsequent song, I get the following issue:
failed to initialize speaker: oto: context is already created
I attempted to defer close of the speaker and also to force close the speaker but it did not fix the problem.
The audio device never releases after calling
speaker.Init()
I suggest to extract the following code from
Init()
:to a separated public method.
What do you think?
BTW, great work! This pkg is the cornerstone of a project I'm working on
Original issue: faiface/beep#56
The text was updated successfully, but these errors were encountered: