Open MarkKremer opened 1 year ago
I marked this as a good first issue because the scope is limited to a very small part of Beep and not a lot of knowledge of the package is required. However, it does deal with concurrency which makes it more difficult to implement.
I was just testing a PR and wanted to play something through a speaker. The speaker doesn't wait for playback to finish. The tutorial states that you have to do the following:
It would be nice to have a helper method to do this:
This method must work with multiple streamers, just like
speaker.Play
accepts multiple streamers.Notes for myself:
beep.Callback
used?beep.Callback
's uses in other ways.