mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
implement dca commands:
- DCA added to Client struct - dca command added to both CLIs help mds updated
This commit is contained in:
@@ -21,6 +21,7 @@ type XAirClient struct {
|
||||
Bus *Bus
|
||||
HeadAmp *HeadAmp
|
||||
Snapshot *Snapshot
|
||||
DCA *DCA
|
||||
}
|
||||
|
||||
// X32Client is a client for controlling X32 mixers
|
||||
@@ -33,6 +34,7 @@ type X32Client struct {
|
||||
Bus *Bus
|
||||
HeadAmp *HeadAmp
|
||||
Snapshot *Snapshot
|
||||
DCA *DCA
|
||||
}
|
||||
|
||||
// NewX32Client creates a new X32Client instance with optional engine configuration
|
||||
@@ -52,6 +54,7 @@ func NewX32Client(mixerIP string, mixerPort int, opts ...EngineOption) (*X32Clie
|
||||
c.Bus = newBus(&c.Client)
|
||||
c.HeadAmp = newHeadAmp(&c.Client)
|
||||
c.Snapshot = newSnapshot(&c.Client)
|
||||
c.DCA = newDCA(&c.Client)
|
||||
|
||||
return c, nil
|
||||
}
|
||||
@@ -71,6 +74,7 @@ func NewXAirClient(mixerIP string, mixerPort int, opts ...EngineOption) (*XAirCl
|
||||
c.Bus = newBus(&c.Client)
|
||||
c.HeadAmp = newHeadAmp(&c.Client)
|
||||
c.Snapshot = newSnapshot(&c.Client)
|
||||
c.DCA = newDCA(&c.Client)
|
||||
|
||||
return c, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user