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

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

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

revision 3033 by schoenebeck, Sat Sep 6 13:04:01 2014 UTC revision 3034 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC
# Line 5  Line 5 
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 - 2008 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *
7   *   Copyright (C) 2009 - 2012 Christian Schoenebeck and Grigor Iliev      *   *   Copyright (C) 2009 - 2012 Christian Schoenebeck and Grigor Iliev      *
8   *   Copyright (C) 2013 - 2014 Christian Schoenebeck and Andreas Persson   *   *   Copyright (C) 2013 - 2016 Christian Schoenebeck and Andreas Persson   *
9   *                                                                         *   *                                                                         *
10   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
11   *   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 197  namespace LinuxSampler { Line 197  namespace LinuxSampler {
197              // Methods              // Methods
198              DiskThreadBase(int MaxStreams, uint BufferWrapElements, IM* pInstruments) :              DiskThreadBase(int MaxStreams, uint BufferWrapElements, IM* pInstruments) :
199                  Thread(true, false, 1, -2),                  Thread(true, false, 1, -2),
                 pInstruments(pInstruments),  
200                  DeletionNotificationQueue(4*MaxStreams),                  DeletionNotificationQueue(4*MaxStreams),
201                  ProgramChangeQueue(512)                  ProgramChangeQueue(512),
202                    pInstruments(pInstruments)
203              {              {
204                  CreationQueue       = new RingBuffer<create_command_t,false>(4*MaxStreams);                  CreationQueue       = new RingBuffer<create_command_t,false>(4*MaxStreams);
205                  DeletionQueue       = new RingBuffer<delete_command_t,false>(4*MaxStreams);                  DeletionQueue       = new RingBuffer<delete_command_t,false>(4*MaxStreams);

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

  ViewVC Help
Powered by ViewVC