/[svn]/linuxsampler/trunk/src/engines/common/VoiceBase.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/VoiceBase.h

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

revision 2015 by iliev, Sun Oct 25 22:22:52 2009 UTC revision 2027 by iliev, Tue Nov 3 19:27:42 2009 UTC
# Line 121  namespace LinuxSampler { Line 121  namespace LinuxSampler {
121                              if (DiskVoice) {                              if (DiskVoice) {
122                                  // check if we reached the allowed limit of the sample RAM cache                                  // check if we reached the allowed limit of the sample RAM cache
123                                  if (finalSynthesisParameters.dPos > MaxRAMPos) {                                  if (finalSynthesisParameters.dPos > MaxRAMPos) {
124                                      dmsg(5,("Voice: switching to disk playback (Pos=%f)\n", finalSynthesisParameters.dPos));                                      dmsg(5,("VoiceBase: switching to disk playback (Pos=%f)\n", finalSynthesisParameters.dPos));
125                                      this->PlaybackState = Voice::playback_state_disk;                                      this->PlaybackState = Voice::playback_state_disk;
126                                  }                                  }
127                              } else if (finalSynthesisParameters.dPos >= pSample->GetCache().Size / SmplInfo.FrameSize) {                              } else if (finalSynthesisParameters.dPos >= pSample->GetCache().Size / SmplInfo.FrameSize) {
# Line 175  namespace LinuxSampler { Line 175  namespace LinuxSampler {
175                          break;                          break;
176    
177                      case Voice::playback_state_end:                      case Voice::playback_state_end:
178                          std::cerr << "gig::Voice::Render(): entered with playback_state_end, this is a bug!\n" << std::flush;                          std::cerr << "VoiceBase::Render(): entered with playback_state_end, this is a bug!\n" << std::flush;
179                          break;                          break;
180                  }                  }
181    

Legend:
Removed from v.2015  
changed lines
  Added in v.2027

  ViewVC Help
Powered by ViewVC