summaryrefslogtreecommitdiff
path: root/pkg/mixer
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-10 18:35:53 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-10 18:35:53 +0100
commit0700d7817e64db219a4184b373392d19fdc77956 (patch)
tree7dde67fa35d84af161f3b0eec7c89d984358a6e5 /pkg/mixer
parentrefactored fader levels and mute state (diff)
make target and current channel state explicit
Diffstat (limited to 'pkg/mixer')
-rw-r--r--pkg/mixer/mixer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/mixer/mixer.go b/pkg/mixer/mixer.go
index a3348d9..7b46abc 100644
--- a/pkg/mixer/mixer.go
+++ b/pkg/mixer/mixer.go
@@ -63,7 +63,7 @@ type FaderLevel uint8
const (
FaderLevelUnknown = FaderLevel(0xFF)
FaderLevelMax = FaderLevel(0x7F)
- FaderLevel0db = FaderLevel(0x5F)
+ FaderLevel0db = FaderLevel(0x60)
FaderLevelOff = FaderLevel(0x00)
)
@@ -234,7 +234,7 @@ func (m *Mixer) Mute(ch Channel) error {
return m.sendMute(byte(ch), 0x7F)
}
-func (m *Mixer) UnMute(ch Channel) error {
+func (m *Mixer) Unmute(ch Channel) error {
return m.sendMute(byte(ch), 0x00)
}