SingSettingsHost

The sing schema in the settings page (config-ui §CFGC-4).

Inherits QObject

In the namespace sing::settings. Declared in src/libs/libsing/settings/SingSettingsHost.hpp.

Detailed description

Owns the model the page shows, over a resolver on the app's settings. It registers what the schema names and the app must answer: the device lists, the two Custom cells, the button of "Refresh tracks" and the text of the status rows. A change made in the page reaches the audio graph and the track database here.

A change made by another writer, for example a `singularity.audio.*` task, already applied itself. The host only repaints for it, so nothing applies twice.

The newest host owns the process-wide registrations: the choice providers, the Custom cells, the hooks and the config.* schema entry. When it goes, the host before it takes them back, so a catalog scene that builds a host for a capture does not leave the app's settings page empty.

In this section