/[svn]/linuxsampler/trunk/src/engines/gig/Stream.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/Stream.cpp

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

revision 2012 by iliev, Fri Oct 23 17:53:17 2009 UTC revision 2837 by persson, Sun Aug 23 06:14:00 2015 UTC
# Line 4  Line 4 
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *
6   *   Copyright (C) 2005-2009 Christian Schoenebeck                         *   *   Copyright (C) 2005-2009 Christian Schoenebeck                         *
7   *   Copyright (C) 2009 Grigor Iliev                                       *   *   Copyright (C) 2009-2015 Christian Schoenebeck and Grigor Iliev        *
8   *                                                                         *   *                                                                         *
9   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
10   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 52  namespace LinuxSampler { namespace gig { Line 52  namespace LinuxSampler { namespace gig {
52              PlaybackState.reverse = pbs.reverse;              PlaybackState.reverse = pbs.reverse;
53              PlaybackState.loop_cycles_left = pbs.loop_cycles_left;              PlaybackState.loop_cycles_left = pbs.loop_cycles_left;
54              endofsamplereached = (this->PlaybackState.position >= pSample->SamplesTotal);              endofsamplereached = (this->PlaybackState.position >= pSample->SamplesTotal);
55              dmsg(5,("Refilled stream %d with %d (SamplePos: %d)", this->hThis, total_readsamples, this->PlaybackState.position));              dmsg(5,("Refilled stream %d with %ld (SamplePos: %lu)", this->hThis, total_readsamples, this->PlaybackState.position));
56          }          }
57          else { // normal forward playback          else { // normal forward playback
58    
# Line 68  namespace LinuxSampler { namespace gig { Line 68  namespace LinuxSampler { namespace gig {
68              this->SampleOffset = pSample->GetPos();              this->SampleOffset = pSample->GetPos();
69    
70              endofsamplereached = (SampleOffset >= pSample->SamplesTotal);              endofsamplereached = (SampleOffset >= pSample->SamplesTotal);
71              dmsg(5,("Refilled stream %d with %d (SamplePos: %d)", this->hThis, total_readsamples, this->SampleOffset));              dmsg(5,("Refilled stream %d with %ld (SamplePos: %lu)", this->hThis, total_readsamples, this->SampleOffset));
72          }          }
73    
74          // update stream state          // update stream state

Legend:
Removed from v.2012  
changed lines
  Added in v.2837

  ViewVC Help
Powered by ViewVC