pulseaudio-equalizer-ladspa / equalizer

Pulseaudio LADSPA Equalizer
GNU General Public License v3.0
138 stars 15 forks source link

refactor: move frequency labels to their own class #14

Closed rautesamtr closed 5 years ago

rautesamtr commented 5 years ago

This allows to correctly format the frequency labels without the help of globals. The FrequencyLabel has one method set_frequency which takes a frequency string as parameter and will format the label correctly as with the old FormatLabels() function.

The frequency can also be set in the objects constructor with the frequency keyword parameter.