This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
43
Wiki
Activity
Browse Source
Port.hpp - suppress warning when building plugins
pull/1941/head
Steve Russell
1 month ago
parent
cfb1caff98
commit
647fcb699a
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
include/engine/Port.hpp
+ 2
- 0
include/engine/Port.hpp
View File
@@ -160,6 +160,8 @@ struct Port {
}
// Set higher channel voltages to 0
for (uint8_t c = channels; c < this->channels; c++) {
if (c >= PORT_MAX_CHANNELS)
__builtin_unreachable();
voltages[c] = 0.f;
}
// Don't allow caller to set port as disconnected
Write
Preview
Loading…
Cancel
Save