HydrogenAudio

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: muzehyun on 2012-03-11 20:50:09

Title: Q: list and select 'DSP chain presets'?
Post by: muzehyun on 2012-03-11 20:50:09
I want to get a list of saved 'DSP chain presets' which is in DSP Manager preference page and load and apply one of them.
What I want to do is that list and select one of the DSP chain presets from remote application.
Is that possible?

I found some classes that might related to DSP presets but I can't find anything to get list of chain presets.

I think applying new DSP chain can be done with this -> "dsp_config_manager::set_core_settings"
But I can't find a way to get list of saved DSP chain presets.

Thanks!

cfg_dsp_chain_config
  ??

dsp_chain_config_impl
  holding a single preset information (chain of DSPs, not list of presets)
  can be used with static_api_ptr_t<dsp_config_manager>()->get_core_settings(chain);
    get currently activated DSP chain

dsp_preset_reader, dsp_preset_writer
  It looks like that these classes are used in 'DSP manager preference page' to save or load presets.
  If I want to create my own DSP manager preference, it seems useful.

dsp_config_manager
  I can only get currently activated DSP chain, not list of chain presets.

dsp_config_manager::set_core_settings
  I can apply new DSP chsin with this API
Title: Q: list and select 'DSP chain presets'?
Post by: foosion on 2012-03-12 11:09:38
I don't think it is possible to retrieve the list of DSP chain presets.