zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

DSSIControl.cpp (598B)


      1 /*
      2   ZynAddSubFX - a software synthesizer
      3 
      4   DSSIControl.cpp - DSSI control ports "controller"
      5   Copyright (C) 2015 Olivier Jolly
      6   Author: Olivier Jolly
      7 
      8   This program is free software; you can redistribute it and/or
      9   modify it under the terms of the GNU General Public License
     10   as published by the Free Software Foundation; either version 2
     11   of the License, or (at your option) any later version.
     12 */
     13 
     14 #include "DSSIControl.h"
     15 #include "../Misc/Master.h"
     16 
     17 void DSSIControl::forward_control(zyn::Master *master) {
     18     master->setController(0, description.controller_code, get_scaled_data());
     19 }