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

Diff of /linuxsampler/trunk/src/engines/FxSend.cpp

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

revision 3053 by iliev, Sun Jul 3 18:06:51 2011 UTC revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
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 - 2010 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2016 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This library is free software; you can redistribute it and/or modify  *   *   This library is free software; you can redistribute it and/or modify  *
9   *   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 149  namespace LinuxSampler { Line 149  namespace LinuxSampler {
149              // add routings with default destinations              // add routings with default destinations
150              AudioOutputDevice* pDevice = pEngineChannel->GetAudioOutputDevice();              AudioOutputDevice* pDevice = pEngineChannel->GetAudioOutputDevice();
151              const int iChanOffset = (pDevice) ? pDevice->ChannelCount() - pEngineChannel->Channels() : 0;              const int iChanOffset = (pDevice) ? pDevice->ChannelCount() - pEngineChannel->Channels() : 0;
152              for (int i = Routing.size(); i < pEngineChannel->Channels(); i++) {              for (int i = (int)Routing.size(); i < pEngineChannel->Channels(); i++) {
153                  const int iDestination = iChanOffset + i;                  const int iDestination = iChanOffset + i;
154                  Routing.push_back(iDestination);                  Routing.push_back(iDestination);
155              }              }

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

  ViewVC Help
Powered by ViewVC