From ef93665838bd8fee51606ebcd95c84a82a3a1520 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 11 Feb 2019 20:41:12 +0100 Subject: subscribing to controller events works now --- pkg/mixer/mixer.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/mixer') 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 { -- cgit v1.2.3