dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Implement PlaySound/StopSound

Open tigerza117 opened this issue 4 years ago • 3 comments

tigerza117 avatar Sep 30 '21 17:09 tigerza117

There already is a PlaySound method in players. I think it's more appropriate to merge this with that, and just expose sounds based on strings as a Sound implementation.

Sandertv avatar Oct 01 '21 09:10 Sandertv

Example....

p.PlaySound(sound.PlaySound{SoundName: "random.toast", Volume: 1, Pitch: 1})

tigerza117 avatar Oct 02 '21 21:10 tigerza117

🤔

tigerza117 avatar Oct 12 '21 00:10 tigerza117