Correct. The DSPs listed in the DSP manager are only if you want to use it manually.
class deemph_postprocessor_entry : public decode_postprocessor_entry
{
public:
virtual bool instantiate(const file_info & info, decode_postprocessor_instance::ptr & out)
{
int sr = (int)info.info_get_int("samplerate");
if (sr != 44100 && sr != 48000 && sr != 88200 && sr != 96000 && sr != 176400 && sr != 192000) return false;
const char* enabled = info.meta_get("pre_emphasis", 0);
if (enabled == NULL) enabled = info.meta_get("pre-emphasis", 0);
if (enabled == NULL) return false;
if (pfc::stricmp_ascii(enabled, "1") == 0 || pfc::stricmp_ascii(enabled, "on") == 0 || pfc::stricmp_ascii(enabled, "yes") == 0)
{
console::print("Pre-emphasis detected and enabled in track. Running filter");
out = new service_impl_t < deemph_postprocessor_instance1 >;
return true;
}
return false;
}
};