summaryrefslogtreecommitdiff
path: root/pkg/mixer/mixer.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mixer/mixer.go')
-rw-r--r--pkg/mixer/mixer.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/mixer/mixer.go b/pkg/mixer/mixer.go
index 6e8eb07..3cf869d 100644
--- a/pkg/mixer/mixer.go
+++ b/pkg/mixer/mixer.go
@@ -42,7 +42,7 @@ type Channel uint8
type EventType int
const (
- EventFaderChange = iota
+ EventFaderChange EventType = iota
EventMute
)
@@ -87,9 +87,9 @@ func (fl FaderLevel) String() string {
type Mute int8
const (
- MuteUnknown = -1
- MuteUnmuted = 0
- MuteMuted = 1
+ MuteUnknown = Mute(-1)
+ MuteUnmuted = Mute(0)
+ MuteMuted = Mute(1)
)
func (m Mute) String() string {