diff options
Diffstat (limited to 'sound.go')
-rw-r--r-- | sound.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -5,11 +5,13 @@ type SoundID int32 type SoundSrcType uint8 const ( - NoSrc SoundSrcType = iota - PosSrc - AOSrc + NoSrc SoundSrcType = iota // nowhere + PosSrc // pos + AOSrc // ao ) +//go:generate stringer -linecomment -type SoundSrcType + type SoundDef struct { Name string Gain, Pitch, Fade float32 |