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

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

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

revision 3034 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC
# Line 62  namespace LinuxSampler { namespace sf2 { Line 62  namespace LinuxSampler { namespace sf2 {
62          si.ChannelCount     = pSample->GetChannelCount();          si.ChannelCount     = pSample->GetChannelCount();
63          si.FrameSize        = pSample->GetFrameSize();          si.FrameSize        = pSample->GetFrameSize();
64          si.BitDepth         = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8;          si.BitDepth         = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8;
65          si.TotalFrameCount  = pSample->GetTotalFrameCount();          si.TotalFrameCount  = (uint)pSample->GetTotalFrameCount();
66    
67          si.HasLoops       = pRegion->HasLoop;          si.HasLoops       = pRegion->HasLoop;
68          si.LoopStart      = (si.HasLoops) ? pRegion->LoopStart : 0;          si.LoopStart      = (si.HasLoops) ? pRegion->LoopStart : 0;

Legend:
Removed from v.3034  
changed lines
  Added in v.3054

  ViewVC Help
Powered by ViewVC