implement Matrix type

add comp,eq factory methods for Matrix type

update address maps
This commit is contained in:
2026-02-07 03:51:47 +00:00
parent 65d20408b1
commit 904e6c02d8
5 changed files with 100 additions and 15 deletions

View File

@@ -9,6 +9,7 @@ type Main struct {
Comp *Comp
}
// newMainStereo creates a new Main instance for stereo main output
func newMainStereo(c *Client) *Main {
return &Main{
client: c,
@@ -18,14 +19,13 @@ func newMainStereo(c *Client) *Main {
}
}
/* Still considering the best way to implement main mono support.
// newMainMono creates a new MainMono instance for mono main output (X32 only)
func newMainMono(c *Client) *Main {
return &Main{
baseAddress: c.addressMap["mainmono"],
client: c,
}
}
*/
// Fader requests the current main L/R fader level
func (m *Main) Fader() (float64, error) {