/[svn]/linuxsampler/trunk/src/eg_vca.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/eg_vca.h

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

revision 31 by schoenebeck, Sun Jan 18 20:31:31 2004 UTC revision 32 by schoenebeck, Tue Feb 3 13:21:19 2004 UTC
# Line 49  class EG_VCA { Line 49  class EG_VCA {
49    
50          EG_VCA();          EG_VCA();
51          void Process(uint Samples);          void Process(uint Samples);
52          void Trigger(uint PreAttack, double Attack, double Release);          void Trigger(uint PreAttack, double Attack, double Release, uint Delay);
53          void Release();          void Release(uint Delay);
54          inline EG_VCA::stage_t GetStage() { return Stage; };          inline EG_VCA::stage_t GetStage() { return Stage; };
55      protected:      protected:
56          float   Level;          float   Level;
# Line 60  class EG_VCA { Line 60  class EG_VCA {
60          long    AttackStepsLeft;   ///< number of sample points til end of attack stage          long    AttackStepsLeft;   ///< number of sample points til end of attack stage
61          float   ReleaseCoeff;          float   ReleaseCoeff;
62          long    ReleaseStepsLeft;  ///< number of sample points til end of release stage          long    ReleaseStepsLeft;  ///< number of sample points til end of release stage
63            uint    TriggerDelay;      ///< number of sample points to triggering should be delayed
64            uint    ReleaseDelay;      ///< number of sample points the release stage should be delayed
65    
66          inline long Min(long A, long B) {          inline long Min(long A, long B) {
67              return (A > B) ? B : A;              return (A > B) ? B : A;

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC