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

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

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

revision 30 by schoenebeck, Sun Jan 11 16:43:54 2004 UTC revision 31 by schoenebeck, Sun Jan 18 20:31:31 2004 UTC
# Line 31  EG_VCA::EG_VCA() { Line 31  EG_VCA::EG_VCA() {
31   * Will be called by the voice for every audio fragment to let the EG   * Will be called by the voice for every audio fragment to let the EG
32   * queue it's modulation changes for the current audio fragment.   * queue it's modulation changes for the current audio fragment.
33   */   */
34  void EG_VCA::ProcessFragment() {  void EG_VCA::Process(uint Samples) {
35      if (Stage == stage_sustain) return; // nothing to do      if (Stage == stage_sustain) return; // nothing to do
36    
37      for (int to_process_total = ModulationSystem::GetFragmentSize(); to_process_total;) {      for (int to_process_total = Samples; to_process_total;) {
38          int iSample = 0;          int iSample = 0;
39          switch (Stage) {          switch (Stage) {
40              case stage_attack: {              case stage_attack: {

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

  ViewVC Help
Powered by ViewVC