| 77 | } |
| 78 | |
| 79 | IAudioEffect* EffectFactory::MakeEffect(std::string type) |
| 80 | { |
| 81 | if (type == "eq") //fix up old save data |
| 82 | type = "basiceq"; |
| 83 | |
| 84 | auto iter = mFactoryMap.find(type); |
| 85 | if (iter != mFactoryMap.end()) |
| 86 | return iter->second(); |
| 87 | return nullptr; |
| 88 | } |
| 89 | |
| 90 | std::vector<std::string> EffectFactory::GetSpawnableEffects() |
| 91 | { |