Mercurial > hg > svcore
comparison plugin/LADSPAPluginFactory.cpp @ 218:4882563bd2b3
* Add support for PortAudio v19
* Add ladspa.cat file to provide categories if unavailable through LRDF
author | Chris Cannam |
---|---|
date | Thu, 25 Jan 2007 12:02:44 +0000 |
parents | 06ad01f3e553 |
children | e08cb0158e81 |
comparison
equal
deleted
inserted
replaced
217:b3dfc3714006 | 218:4882563bd2b3 |
---|---|
89 list.push_back("false"); // is grouped | 89 list.push_back("false"); // is grouped |
90 | 90 |
91 if (m_taxonomy.find(*i) != m_taxonomy.end() && m_taxonomy[*i] != "") { | 91 if (m_taxonomy.find(*i) != m_taxonomy.end() && m_taxonomy[*i] != "") { |
92 // std::cerr << "LADSPAPluginFactory: cat for " << i->toStdString()<< " found in taxonomy as " << m_taxonomy[descriptor->UniqueID] << std::endl; | 92 // std::cerr << "LADSPAPluginFactory: cat for " << i->toStdString()<< " found in taxonomy as " << m_taxonomy[descriptor->UniqueID] << std::endl; |
93 list.push_back(m_taxonomy[*i]); | 93 list.push_back(m_taxonomy[*i]); |
94 | |
95 } else { | 94 } else { |
96 list.push_back(""); | 95 list.push_back(""); |
97 // std::cerr << "LADSPAPluginFactory: cat for " << i->toStdString() << " not found (despite having " << m_fallbackCategories.size() << " fallbacks)" << std::endl; | 96 // std::cerr << "LADSPAPluginFactory: cat for " << i->toStdString() << " not found (despite having " << m_fallbackCategories.size() << " fallbacks)" << std::endl; |
98 | 97 |
99 } | 98 } |
679 lrdf_defaults *defs = 0; | 678 lrdf_defaults *defs = 0; |
680 | 679 |
681 if (m_lrdfTaxonomy[descriptor->UniqueID] != "") { | 680 if (m_lrdfTaxonomy[descriptor->UniqueID] != "") { |
682 m_taxonomy[identifier] = m_lrdfTaxonomy[descriptor->UniqueID]; | 681 m_taxonomy[identifier] = m_lrdfTaxonomy[descriptor->UniqueID]; |
683 // std::cerr << "set id \"" << identifier.toStdString() << "\" to cat \"" << m_taxonomy[identifier].toStdString() << "\" from LRDF" << std::endl; | 682 // std::cerr << "set id \"" << identifier.toStdString() << "\" to cat \"" << m_taxonomy[identifier].toStdString() << "\" from LRDF" << std::endl; |
683 // std::cout << identifier.toStdString() << "::" << m_taxonomy[identifier].toStdString() << std::endl; | |
684 } | 684 } |
685 | 685 |
686 QString category = m_taxonomy[identifier]; | 686 QString category = m_taxonomy[identifier]; |
687 | 687 |
688 if (category == "" && descriptor->Name != 0) { | 688 if (category == "" && descriptor->Name != 0) { |