foo-webview-sdk
    Preparing search index...

    Variable dspConst

    dsp: {
        addDsp: (guid: string, position?: number) => Promise<DspAddDspResponse>;
        applyPreset: (
            indexOrName: string | number,
        ) => Promise<DspApplyPresetResponse>;
        getAvailable: () => Promise<DspGetAvailableResponse>;
        getChain: () => Promise<DspGetChainResponse>;
        getPresets: () => Promise<DspGetPresetsResponse>;
        moveDsp: (from: number, to: number) => Promise<DspMoveDspResponse>;
        removeDsp: (index: number) => Promise<DspRemoveDspResponse>;
        setChain: (
            dsps: readonly Pick<DspChainSpec, "guid">[],
        ) => Promise<DspSetChainResponse>;
    } = ...

    dsp — DSP chain / preset namespace.

    Type Declaration

    • addDsp: (guid: string, position?: number) => Promise<DspAddDspResponse>

      Insert a processor into the active chain with its default settings.

    • applyPreset: (indexOrName: string | number) => Promise<DspApplyPresetResponse>

      Apply a preset by index (number) or name (string).

    • getAvailable: () => Promise<DspGetAvailableResponse>

      List every installed DSP processor.

    • getChain: () => Promise<DspGetChainResponse>

      Read the active DSP chain and which preset, if any, it currently corresponds to.

    • getPresets: () => Promise<DspGetPresetsResponse>

      List the DSP presets stored in the profile and which one is selected.

    • moveDsp: (from: number, to: number) => Promise<DspMoveDspResponse>

      Move one entry of the active chain to another position, keeping its settings.

    • removeDsp: (index: number) => Promise<DspRemoveDspResponse>

      Remove one entry from the active chain by index.

    • setChain: (dsps: readonly Pick<DspChainSpec, "guid">[]) => Promise<DspSetChainResponse>

      Replace the whole chain. Only guid is sent for each entry, since the host refuses any other key; the rows getChain reports can therefore be passed back as they are.