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

Diff of /linuxsampler/trunk/src/engines/sfz/Voice.cpp

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

revision 2018 by iliev, Tue Oct 27 19:04:57 2009 UTC revision 2021 by iliev, Fri Oct 30 16:36:20 2009 UTC
# Line 56  namespace LinuxSampler { namespace sfz { Line 56  namespace LinuxSampler { namespace sfz {
56          si.BitDepth         = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8;          si.BitDepth         = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8;
57          si.TotalFrameCount  = pSample->GetTotalFrameCount();          si.TotalFrameCount  = pSample->GetTotalFrameCount();
58    
59          si.HasLoops       = false; // TODO:          si.HasLoops       = pRegion->HasLoop();
60          si.LoopStart      = 0; // TODO:          si.LoopStart      = pRegion->GetLoopStart();
61          si.LoopLength     = 0; // TODO:          si.LoopLength     = pRegion->GetLoopEnd() - pRegion->GetLoopStart();
62          si.LoopPlayCount  = 0; // TODO:          si.LoopPlayCount  = pRegion->GetLoopCount();
63          si.Unpitched      = false; // TODO:          si.Unpitched      = pRegion->pitch_keytrack == 0;
64          return si;          return si;
65      }      }
66    

Legend:
Removed from v.2018  
changed lines
  Added in v.2021

  ViewVC Help
Powered by ViewVC