SpectMorph
smwavsetrepo.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_WAVSET_REPO_HH
4 #define SPECTMORPH_WAVSET_REPO_HH
5 
6 #include "smwavset.hh"
7 
8 #include <bse/bsecxxplugin.hh>
9 
10 #include <QMutex>
11 
12 #include <map>
13 
14 namespace SpectMorph
15 {
16 
17 class WavSetRepo {
18  QMutex mutex;
19  std::map<std::string, WavSet *> wav_set_map;
20 public:
21  WavSet *get (const std::string& filename);
22 
23  static WavSetRepo *the(); // Singleton
24 };
25 
26 }
27 
28 #endif
Definition: smwavsetrepo.hh:17
Definition: smwavset.hh:29
Definition: smaudio.hh:15