Skip to content

Conversation

@matthewoates
Copy link
Contributor

@matthewoates matthewoates commented Jul 8, 2019

This sound should not play / should play at default volume. Went for the simpler option of setting the volume to 0 instead of stopping playback, skipping playback would cause the callback to run immediately, unless you waited for the duration of the sound (more complexity). KISS

This is a reasonable use case. In my application, volume is controlled globally by a user setting, where they can set the volume to 100%, 50%, etc. and you guessed it: 0%.

@sbrl sbrl added the bug label Jul 9, 2019
Copy link
Owner

@sbrl sbrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, great catch @matthewoates - and thanks so much for the PR!

Just for the record, you do release your PR under the MIT license (the same license as this repository)?

As soon as you confirm then I'll merge this & do a release 🚀

@matthewoates
Copy link
Contributor Author

@sbrl I do release these changes under the MIT license.

@sbrl sbrl merged commit 2c647da into sbrl:master Jul 12, 2019
@sbrl
Copy link
Owner

sbrl commented Jul 12, 2019

Released v0.3.10 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants