~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to muse/vst.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-07-18 16:07:06 UTC
  • mto: (10.1.11 sid) (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: package-import@ubuntu.com-20120718160706-yc6332ishfcq7b7g
ImportĀ upstreamĀ versionĀ 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
      _FSTHandle* fstHandle;
45
45
 
46
46
   public:
47
 
      //VstSynth(const QFileInfo& fi) : Synth(fi) { fstHandle = 0; }
48
47
      VstSynth(const QFileInfo& fi) : Synth(fi, fi->baseName()) {
49
48
            fstHandle = 0;
50
49
            }
53
52
      virtual Type synthType() const { return VST_SYNTH; }
54
53
      virtual void incInstances(int val);
55
54
      virtual void* instantiate();
56
 
      //virtual SynthIF* createSIF() const;
57
55
      virtual SynthIF* createSIF(SynthI*) const;
58
56
      };
59
57
 
68
66
      bool _guiVisible;
69
67
 
70
68
   public:
71
 
      //VstSynthIF() { _fst = 0; _guiVisible = false; }
72
69
      VstSynthIF(SynthI* s) : SynthIF(s) {
73
70
            _fst = 0;
74
71
            _guiVisible = false;
98
95
      virtual void deactivate3();
99
96
      virtual const char* getPatchName(int, int, int, bool) const { return ""; }
100
97
      virtual const char* getPatchName(int, int, MType, bool) { return ""; }
101
 
      //virtual void populatePatchPopup(QMenu*, int, MType, bool) {};
102
98
      virtual void populatePatchPopup(PopupMenu*, int, MType, bool) {};
103
99
      virtual void write(int level, Xml& xml) const;
104
100
      virtual float getParameter(unsigned long idx) const;