/[svn]/qsampler/trunk/src/qsamplerChannel.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 484 by capela, Tue Mar 22 12:55:29 2005 UTC revision 751 by capela, Fri Aug 19 17:10:16 2005 UTC
# Line 47  public: Line 47  public:
47    
48          // Main application form accessor.          // Main application form accessor.
49          qsamplerMainForm *mainForm() const;          qsamplerMainForm *mainForm() const;
50            
51          // Main application options accessor.          // Main application options accessor.
52          qsamplerOptions *options() const;          qsamplerOptions *options() const;
53    
# Line 74  public: Line 74  public:
74          int      instrumentNr() const;          int      instrumentNr() const;
75          const QString& instrumentName() const;          const QString& instrumentName() const;
76          int      instrumentStatus() const;          int      instrumentStatus() const;
77            
78          // Instrument file loader.          // Instrument file loader.
79          bool     loadInstrument(const QString& sInstrumentFile, int iInstrumentNr);          bool     loadInstrument(const QString& sInstrumentFile, int iInstrumentNr);
80          // Special instrument file/name/number settler.          // Special instrument file/name/number settler.
# Line 108  public: Line 108  public:
108          float    volume() const;          float    volume() const;
109          bool     setVolume(float fVolume);          bool     setVolume(float fVolume);
110    
111            // Sampler channel mute state.
112            bool     channelMute() const;
113            bool     setChannelMute(bool bMute);
114    
115            // Sampler channel solo state.
116            bool     channelSolo() const;
117            bool     setChannelSolo(bool bSolo);
118    
119          // Istrument name remapper.          // Istrument name remapper.
120          void     updateInstrumentName();          void     updateInstrumentName();
121    
# Line 133  public: Line 141  public:
141          // Common (invalid) name-helpers.          // Common (invalid) name-helpers.
142          static QString noEngineName();          static QString noEngineName();
143          static QString noInstrumentName();          static QString noInstrumentName();
144            static QString loadingInstrument();
145    
146          // Check whether a given file is an instrument file.          // Check whether a given file is an instrument file.
147          static bool isInstrumentFile (const QString& sInstrumentFile);          static bool isInstrumentFile (const QString& sInstrumentFile);
# Line 157  private: Line 166  private:
166          QString m_sInstrumentFile;          QString m_sInstrumentFile;
167          int     m_iInstrumentNr;          int     m_iInstrumentNr;
168          int     m_iInstrumentStatus;          int     m_iInstrumentStatus;
169          QString m_sMidiDriver;          // DEPRECATED.          QString m_sMidiDriver;
170          int     m_iMidiDevice;          int     m_iMidiDevice;
171          int     m_iMidiPort;          int     m_iMidiPort;
172          int     m_iMidiChannel;          int     m_iMidiChannel;
173          QString m_sAudioDriver;         // DEPRECATED.          QString m_sAudioDriver;
174          int     m_iAudioDevice;          int     m_iAudioDevice;
175          float   m_fVolume;          float   m_fVolume;
176            bool    m_bMute;
177            bool    m_bSolo;
178  };  };
179    
180  #endif  // __qsamplerChannel_h  #endif  // __qsamplerChannel_h

Legend:
Removed from v.484  
changed lines
  Added in v.751

  ViewVC Help
Powered by ViewVC