/[svn]/linuxsampler/trunk/src/drivers/audio/AudioChannel.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/audio/AudioChannel.h

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

revision 879 by iliev, Mon Jul 25 09:28:00 2005 UTC revision 880 by schoenebeck, Tue Jun 27 22:57:37 2006 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6     *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 27  Line 28 
28  #include <vector>  #include <vector>
29  #include <string.h>  #include <string.h>
30  #include "../../common/global.h"  #include "../../common/global.h"
31    #include "../../common/Exception.h"
32  #include "../DeviceParameter.h"  #include "../DeviceParameter.h"
33    
34  namespace LinuxSampler {  namespace LinuxSampler {
# Line 65  namespace LinuxSampler { Line 67  namespace LinuxSampler {
67              class ParameterIsMixChannel : public DeviceRuntimeParameterBool {              class ParameterIsMixChannel : public DeviceRuntimeParameterBool {
68                  public:                  public:
69                      ParameterIsMixChannel(bool b) : DeviceRuntimeParameterBool(b) {}                      ParameterIsMixChannel(bool b) : DeviceRuntimeParameterBool(b) {}
70                      virtual String Description()                                    { return "Whether real channel or mixed to another channel"; }                      virtual String Description()                        { return "Whether real channel or mixed to another channel"; }
71                      virtual bool   Fix()                                            { return true;                                              }                      virtual bool   Fix()                                { return true;                                               }
72                      virtual void   OnSetValue(bool b) throw (LinuxSamplerException) { /* cannot happen, as parameter is fix */                  }                      virtual void   OnSetValue(bool b) throw (Exception) { /* cannot happen, as parameter is fix */                   }
73              };              };
74    
75              class ParameterMixChannelDestination : public DeviceRuntimeParameterInt {              class ParameterMixChannelDestination : public DeviceRuntimeParameterInt {
76                  public:                  public:
77                      ParameterMixChannelDestination(int i) : DeviceRuntimeParameterInt(i) {}                      ParameterMixChannelDestination(int i) : DeviceRuntimeParameterInt(i) {}
78                      virtual String           Description()                                   { return "Destination channel of this mix channel";                 }                      virtual String           Description()                       { return "Destination channel of this mix channel";                 }
79                      virtual bool             Fix()                                           { return true;                                                      }                      virtual bool             Fix()                               { return true;                                                      }
80                      virtual optional<int>    RangeMinAsInt()                                 { return optional<int>::nothing; /*TODO: needs to be implemented */ }                      virtual optional<int>    RangeMinAsInt()                     { return optional<int>::nothing; /*TODO: needs to be implemented */ }
81                      virtual optional<int>    RangeMaxAsInt()                                 { return optional<int>::nothing; /*TODO: needs to be implemented */ }                      virtual optional<int>    RangeMaxAsInt()                     { return optional<int>::nothing; /*TODO: needs to be implemented */ }
82                      virtual std::vector<int> PossibilitiesAsInt()                            { return std::vector<int>();     /*TODO: needs to be implemented */ }                      virtual std::vector<int> PossibilitiesAsInt()                { return std::vector<int>();     /*TODO: needs to be implemented */ }
83                      virtual void             OnSetValue(int i) throw (LinuxSamplerException) { /*TODO: needs to be implemented */                                }                      virtual void             OnSetValue(int i) throw (Exception) { /*TODO: needs to be implemented */                                }
84              };              };
85    
86              // attributes              // attributes

Legend:
Removed from v.879  
changed lines
  Added in v.880

  ViewVC Help
Powered by ViewVC