foo-webview-sdk
    Preparing search index...

    Interface ReplaygainGetSettingsSuccess

    Successful response from replaygain.getSettings.

    interface ReplaygainGetSettingsSuccess {
        active: boolean;
        preampWithoutRg: number;
        preampWithRg: number;
        processingMode: "gain" | "none" | "peak" | "gain_and_peak";
        sourceMode: "auto" | "none" | "track" | "album";
        success: true;
    }
    Index
    active: boolean

    Whether ReplayGain changes the output: false when the source mode is none or auto, or the processing mode is none.

    preampWithoutRg: number

    Preamp applied to tracks without ReplayGain, in dB.

    preampWithRg: number

    Preamp applied to tracks that carry ReplayGain, in dB.

    processingMode: "gain" | "none" | "peak" | "gain_and_peak"

    What is applied: gain the gain only, peak peak limiting only, gain_and_peak both, none nothing.

    sourceMode: "auto" | "none" | "track" | "album"

    Where the gain applied during playback comes from: none applies no gain, track and album use the respective stored value, auto follows the playback order (track gain in shuffle, album gain otherwise).

    success: true

    Always true here; a failed call resolves with ApiFailure instead.