settings (sing)

The settings of singularity, and the store that keeps them.

In the namespace sing.

Detailed description

Function documentation

singSchema

const config::Schema &settings::singSchema()

The sing schema: every setting of Singularity as data.

The rows were the two tabs of `SingSettingsActivity` and the settings page of the standalone app (config-ui §CFGC-4). The keys did not change, so a value stored before this schema reads the same. Two rows are stored once per output device: the store keys them by the device they describe now (isPerDevice()).

`SingAudioSettings` keeps its legacy-key migration. The store runs it before its first read, so a value written by an old build reads through this schema too.

Classes

Class What it is
AudioInputPicker Cell of one microphone row: a device list and a level meter (config-ui §CFGC-4, parity CFG-81)
Hooks What the rows that show the state of the app call
SingSettingsHost Sing schema in the settings page (config-ui §CFGC-4)
SingSettingsStore App level of the sing schema, stored in app::Settings
TestToneCell Custom cell of the test tone row: a button that plays the tone while it is held (config-ui §CFGC-4, parity CFG-80)
In this section