discord-player icon indicating copy to clipboard operation
discord-player copied to clipboard

[Discussion] How could we simplify AudioFilters api?

Open twlite opened this issue 1 year ago • 1 comments

I am not quite happy with current implementation AudioFilters api. How can this be improved? Please share your experiences as well as problems with AudioFilters 🙏

twlite avatar Aug 10 '22 14:08 twlite

I would create a convenient class AudioFilter, that will be containing properties like list, enabled and disabled, methods like set() and remove() (remove will remove any active filters), enable() and disable() (enable and disable methods will update the list, so you can kinda "blacklist" some filters that you don't want to display or use). I think that's not a lot, but quiet enough

Olebeh avatar Aug 12 '22 00:08 Olebeh