addFilter

abstract fun addFilter(filter: AudioFilter, priority: AudioFilter.Priority)

Adds an audio filter to the device with the specified priority.

Parameters

filter

The audio filter to add.

priority

The priority of the filter.


open fun addFilter(filter: AudioFilter)

Adds an audio filter to the device with normal priority.

Parameters

filter

The audio filter to add.