summaryrefslogtreecommitdiff
path: root/pkg/mixer
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-11 20:41:12 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-11 20:41:12 +0100
commitef93665838bd8fee51606ebcd95c84a82a3a1520 (patch)
tree24808352f6a75ca129b01239bb67cef3a710cf5e /pkg/mixer
parentMerge branch 'master' of gitspread:dolmetschctl (diff)
subscribing to controller events works now
Diffstat (limited to 'pkg/mixer')
-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 {