diff options
Diffstat (limited to 'cmd/dolmetschctld/statemachine.go')
-rw-r--r-- | cmd/dolmetschctld/statemachine.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/dolmetschctld/statemachine.go b/cmd/dolmetschctld/statemachine.go index 9ae5ff3..2cea91d 100644 --- a/cmd/dolmetschctld/statemachine.go +++ b/cmd/dolmetschctld/statemachine.go @@ -65,6 +65,11 @@ func (l Language) String() string { return string(l) } +func (s Language) MarshalText() (data []byte, err error) { + data = []byte(s.String()) + return +} + type MixerChannelState struct { level mixer.FaderLevel mute mixer.Mute |