Factory presets stuff
This commit is contained in:
parent
7d8ba0c15f
commit
2eedb1963f
@ -38,11 +38,14 @@ struct PresetEntry
|
|||||||
String m_data;
|
String m_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const PresetEntry g_presets[] =
|
const int g_num_presets = 4;
|
||||||
|
|
||||||
|
static const PresetEntry g_presets[g_num_presets] =
|
||||||
{
|
{
|
||||||
{"Factory reset","cGF1bHN0cmV0Y2gzcGx1Z2luc3RhdGUAASZtYWludm9sdW1lMAABCQQAAACAi1cewHN0cmV0Y2hhbW91bnQwAAEJBAAAACAAAPA/ZmZ0c2l6ZTAAAQkEAAAAYGZm5j9waXRjaHNoaWZ0MAABCQQAAAAAAAAAAGZyZXFzaGlmdDAAAQkEAAAAAAAAAABwbGF5cmFuZ2Vfc3RhcnQwAAEJBAAAAAAAAAAAcGxheXJhbmdlX2VuZDAAAQkEAAAAAAAA8D9zcHJlYWQwAAEJBAAAAAAAAAAAY29tcHJlc3MwAAEJBAAAAAAAAAAAbG9vcHhmYWRlbGVuMAABCQQAAABA4XqEP251bWhhcm1vbmljczAAAQkEAAAAAABAWUBoYXJtb25pY3NmcmVxMAABCQQAAAAAAABgQGhhcm1vbmljc2J3MAABCQQAAAAAAAA5QG9jdGF2ZW1peG0yXzAAAQkEAAAAAAAAAABvY3RhdmVtaXhtMV8wAAEJBAAAAAAAAAAAb2N0YXZlbWl4MF8wAAEJBAAAAAAAAPA/b2N0YXZlbWl4MV8wAAEJBAAAAAAAAAAAb2N0YXZlbWl4MTVfMAABCQQAAAAAAAAAAG9jdGF2ZW1peDJfMAABCQQAAAAAAAAAAHRvbmFsdnNub2lzZWJ3XzAAAQkEAAAAgBSu5z90b25hbHZzbm9pc2VwcmVzZXJ2ZV8wAAEJBAAAAAAAAOA/ZmlsdGVyX2xvd18wAAEJBAAAAAAAADRAZmlsdGVyX2hpZ2hfMAABCQQAAAAAAIjTQG9uc2V0ZGV0ZWN0XzAAAQkEAAAAAAAAAABtYXhjYXB0dXJl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b3JkZXIzAAEFAQIAAABzcGVjb3JkZXI0AAEFAQQAAABzcGVjb3JkZXI1AAEFAQUAAABzcGVjb3JkZXI2AAEFAQYAAABzcGVjb3JkZXI3AAEFAQcAAAAAzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N"}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename F>
|
template<typename F>
|
||||||
@ -345,8 +348,7 @@ double PaulstretchpluginAudioProcessor::getTailLengthSeconds() const
|
|||||||
|
|
||||||
int PaulstretchpluginAudioProcessor::getNumPrograms()
|
int PaulstretchpluginAudioProcessor::getNumPrograms()
|
||||||
{
|
{
|
||||||
return 3; // NB: some hosts don't cope very well if you tell them there are 0 programs,
|
return g_num_presets;
|
||||||
// so this should be at least 1, even if you're not really implementing programs.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int PaulstretchpluginAudioProcessor::getCurrentProgram()
|
int PaulstretchpluginAudioProcessor::getCurrentProgram()
|
||||||
@ -356,7 +358,7 @@ int PaulstretchpluginAudioProcessor::getCurrentProgram()
|
|||||||
|
|
||||||
void PaulstretchpluginAudioProcessor::setCurrentProgram (int index)
|
void PaulstretchpluginAudioProcessor::setCurrentProgram (int index)
|
||||||
{
|
{
|
||||||
index = jlimit(0, 2, index);
|
index = jlimit(0, g_num_presets-1, index);
|
||||||
m_cur_program = index;
|
m_cur_program = index;
|
||||||
bool temp = m_load_file_with_state;
|
bool temp = m_load_file_with_state;
|
||||||
m_load_file_with_state = false;
|
m_load_file_with_state = false;
|
||||||
@ -373,7 +375,7 @@ void PaulstretchpluginAudioProcessor::setCurrentProgram (int index)
|
|||||||
|
|
||||||
const String PaulstretchpluginAudioProcessor::getProgramName (int index)
|
const String PaulstretchpluginAudioProcessor::getProgramName (int index)
|
||||||
{
|
{
|
||||||
index = jlimit(0, 2, index);
|
index = jlimit(0, g_num_presets-1, index);
|
||||||
return g_presets[index].m_name;
|
return g_presets[index].m_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user