/[svn]/linuxsampler/trunk/src/engines/EngineChannel.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/EngineChannel.cpp

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

revision 946 by schoenebeck, Sat Jul 1 13:33:21 2006 UTC revision 947 by schoenebeck, Mon Nov 27 21:34:55 2006 UTC
# Line 28  namespace LinuxSampler { Line 28  namespace LinuxSampler {
28      EngineChannel::EngineChannel() {      EngineChannel::EngineChannel() {
29          iMute = 0;          iMute = 0;
30          bSolo = false;          bSolo = false;
31            uiMidiBankMsb = 0;
32            uiMidiBankLsb = 0;
33            uiMidiProgram = 0;
34      }      }
35    
36      void EngineChannel::SetMute(int state) throw (Exception) {      void EngineChannel::SetMute(int state) throw (Exception) {
# Line 54  namespace LinuxSampler { Line 57  namespace LinuxSampler {
57          return bSolo;          return bSolo;
58      }      }
59    
60        uint8_t EngineChannel::GetMidiProgram() {
61            return uiMidiProgram; // AFAIK atomic on all systems
62        }
63    
64        void EngineChannel::SetMidiProgram(uint8_t Program) {
65            uiMidiProgram = Program; // AFAIK atomic on all systems
66        }
67    
68        uint8_t EngineChannel::GetMidiBankMsb() {
69            return uiMidiBankMsb; // AFAIK atomic on all systems
70        }
71    
72        void EngineChannel::SetMidiBankMsb(uint8_t BankMSB) {
73            uiMidiBankMsb = BankMSB; // AFAIK atomic on all systems
74        }
75    
76        uint8_t EngineChannel::GetMidiBankLsb() {
77            return uiMidiBankLsb; // AFAIK atomic on all systems
78        }
79    
80        void EngineChannel::SetMidiBankLsb(uint8_t BankLSB) {
81            uiMidiBankLsb = BankLSB; // AFAIK atomic on all systems
82        }
83    
84  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.946  
changed lines
  Added in v.947

  ViewVC Help
Powered by ViewVC