add headamp gain and phantom commands

This commit is contained in:
2026-02-01 01:25:47 +00:00
parent 64b4be032f
commit 9898c21197
6 changed files with 256 additions and 31 deletions

View File

@@ -15,9 +15,10 @@ type parser interface {
type Client struct {
engine
Main *Main
Strip *Strip
Bus *Bus
Main *Main
Strip *Strip
Bus *Bus
HeadAmp *HeadAmp
}
// NewClient creates a new XAirClient instance
@@ -60,6 +61,7 @@ func NewClient(mixerIP string, mixerPort int, opts ...Option) (*Client, error) {
c.Main = newMain(*c)
c.Strip = NewStrip(*c)
c.Bus = NewBus(*c)
c.HeadAmp = NewHeadAmp(*c)
return c, nil
}