This commit is contained in:
5684185+vsariola@users.noreply.github.com
2026-01-28 21:22:57 +02:00
parent f88986dc64
commit 02a9d9747f
7 changed files with 359 additions and 147 deletions

View File

@ -71,6 +71,16 @@ func (v *spectrumChannels) SetValue(value int) bool {
func (v *spectrumChannels) Range() RangeInclusive {
return RangeInclusive{0, int(NumSpecChnModes) - 1}
}
func (v *spectrumChannels) StringOf(value int) string {
switch SpecChnMode(value) {
case SpecChnModeSum:
return "Sum"
case SpecChnModeSeparate:
return "Separate"
default:
return "Unknown"
}
}
type SpecChnMode int