Comment 2 for bug 2002018

Revision history for this message
sezanzeb (sezanzeb) wrote (last edit ):

The available sample rates should probably be dynamic depending on the selected output format.

Currently they are hard-coded in liststore_resample in the soundconverter.glade file.

It would probably be possible to change the contents of the liststore in the on_output_mime_type_changed function.

Gtk.ListStore.remove and .insert could modify it. https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/ListStore.html

Unfortunately quite a few other projects have higher priority for me right now, so I probably won't do the research of the possible sample rates for all the different formats, and the implementation, any time soon.