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

Diff of /linuxsampler/trunk/src/common/RingBuffer.h

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

revision 2384 by schoenebeck, Fri Dec 14 16:04:49 2012 UTC revision 2386 by schoenebeck, Tue Dec 18 18:29:55 2012 UTC
# Line 327  public: Line 327  public:
327              inline void operator--(int) {              inline void operator--(int) {
328                  --*this;                  --*this;
329              }              }
330        
331                /**
332                 * "Increment assign" operator, for advancing NonVolatileReader's
333                 * read position by @a n elements.
334                 *
335                 * @param n - amount of elements to advance read position
336                 */
337                inline void operator+=(int n) {
338                    if (read_space() < n) return;
339                    read_ptr = (read_ptr+n) & pBuf->size_mask;
340                }
341    
342              /**              /**
343               * Returns pointer to the RingBuffer data of current               * Returns pointer to the RingBuffer data of current

Legend:
Removed from v.2384  
changed lines
  Added in v.2386

  ViewVC Help
Powered by ViewVC