Skip to content

Untangle Startup Sequence #87

Description

@schulz-alexander

Implement three things per class

  • Constructor -> build data plane
  • Init() -> maybe not needed?
  • Reload() -> complete reload using current config

Restructure the loading

  • (if) run tests and exit
  • parse cli parameters
  • parse hardware parameters (MAC, Model, Hardware Parameter)
  • load config (create default config?)
  • create omc
  • init omc

Init OMC

Server

  • Init Mixer
  • Init OSC Server
  • Init WSM
  • unmute ADDA-Boards

Client

  • (if) Init OSC Client
  • Init Surface
  • Init Artnet
  • Load Banks
  • Init LVGL
  • Init Timers
  • Init GUI
  • Refresh/Sync
  • Start LVGL-Loop

What's left? / TODO

  • mixer doesn't transmit inital volume
  • eq doesn't transmit inital state
  • default config needs to be created at differente places -> use state "initDefault" as flag
  • load DSP config not too soon (DSP freezes), but also not too late

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Fields

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions