Browse Source

Initialize Port values

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
de410e64b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/engine/Port.hpp

+ 1
- 1
include/engine/Port.hpp View File

@@ -13,7 +13,7 @@ struct Port {
/** Voltage of the port */ /** Voltage of the port */
union { union {
float value; float value;
float values[PORT_MAX_CHANNELS];
float values[PORT_MAX_CHANNELS] = {};
}; };
/** Number of polyphonic channels */ /** Number of polyphonic channels */
int numChannels = 1; int numChannels = 1;


Loading…
Cancel
Save