/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

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

revision 3956 by schoenebeck, Sat Jun 19 10:41:02 2021 UTC revision 3959 by schoenebeck, Sat Jun 19 10:55:04 2021 UTC
# Line 5696  namespace { Line 5696  namespace {
5696       * @param bBypass - if true, the script slot will be skipped by the sampler       * @param bBypass - if true, the script slot will be skipped by the sampler
5697       * @see Script::Bypass       * @see Script::Bypass
5698       */       */
5699      void Instrument::SetScriptSlotBypassed(uint index, bool bBypass) {      void Instrument::SetScriptSlotBypassed(size_t index, bool bBypass) {
5700          if (index >= ScriptSlotCount()) return;          if (index >= ScriptSlotCount()) return;
5701          if (pScriptRefs)          if (pScriptRefs)
5702              pScriptRefs->at(index).bypass = bBypass;              pScriptRefs->at(index).bypass = bBypass;
# Line 5742  namespace { Line 5742  namespace {
5742       * @param slot - script slot index of the variable to be retrieved       * @param slot - script slot index of the variable to be retrieved
5743       * @param variable - name of the 'patch' variable in that script       * @param variable - name of the 'patch' variable in that script
5744       */       */
5745      bool Instrument::IsScriptPatchVariableSet(int slot, String variable) {      bool Instrument::IsScriptPatchVariableSet(size_t slot, String variable) {
5746          if (variable.empty()) return false;          if (variable.empty()) return false;
5747          Script* script = GetScriptOfSlot(slot);          Script* script = GetScriptOfSlot(slot);
5748          if (!script) return false;          if (!script) return false;
# Line 5776  namespace { Line 5776  namespace {
5776       *       *
5777       * @param slot - script slot index of the variable to be retrieved       * @param slot - script slot index of the variable to be retrieved
5778       */       */
5779      std::map<String,String> Instrument::GetScriptPatchVariables(int slot) {      std::map<String,String> Instrument::GetScriptPatchVariables(size_t slot) {
5780          Script* script = GetScriptOfSlot(slot);          Script* script = GetScriptOfSlot(slot);
5781          if (!script) return std::map<String,String>();          if (!script) return std::map<String,String>();
5782          const _UUID uuid = _UUIDFromCArray(&script->Uuid[0]);          const _UUID uuid = _UUIDFromCArray(&script->Uuid[0]);

Legend:
Removed from v.3956  
changed lines
  Added in v.3959

  ViewVC Help
Powered by ViewVC