Logo Search packages:      
Sourcecode: abgate version File versions  Download package

preset.cpp

/* abGate - LV2 Noise Gate Plugin
 *
 * Copyright 2011 Antanas Bru┼żas
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include "preset.h"

preset::preset() {
}

preset::~preset() {
}

void preset::construct(std::string preset_name, float preset_param_value[5]) {
      name = preset_name;
      for (int i = 0; i < 6; i++) {
            param_value[i] = preset_param_value[i];
      }
}

Generated by  Doxygen 1.6.0   Back to index