2020-06-28 23:31:10 +00:00
|
|
|
package d2interface
|
|
|
|
|
2020-06-29 04:41:58 +00:00
|
|
|
// SoundEffect is something that that the AudioProvider can Play or Stop
|
2020-06-28 23:31:10 +00:00
|
|
|
type SoundEffect interface {
|
|
|
|
Play()
|
|
|
|
Stop()
|
2020-07-31 01:50:27 +00:00
|
|
|
SetPan(pan float64)
|
2020-07-30 20:17:26 +00:00
|
|
|
IsPlaying() bool
|
|
|
|
SetVolume(volume float64)
|
2020-06-28 23:31:10 +00:00
|
|
|
}
|