Skip to main content

Interface: AudioFilterParamChange

Defined in: packages/player/src/filters.ts:313

One af-command: which labelled entry, which sub-option, its new value.

Properties

filter

readonly filter: AudioFilter;

Defined in: packages/player/src/filters.ts:320

The entry to command, as it should end up — the whole filter rather than just its label, because af-command needs both halves of its address: the label to find the mpv entry, and the filter name to find the libavfilter filter inside it (see Player.setAudioFilterParam).


param

readonly param: string;

Defined in: packages/player/src/filters.ts:322

The sub-option key, as AudioFilters spells it (g, volume).


value

readonly value: string;

Defined in: packages/player/src/filters.ts:324

The new value, already in the filter's own grammar (-4.5, -6dB).