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
38
Wiki
Activity
Browse Source
Set audio::Port::maxChannels in AudioInterface.
tags/v1.0.0
Andrew Belt
5 years ago
parent
69c5ec8983
commit
f678e52df1
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/Core/AudioInterface.cpp
+ 1
- 0
src/Core/AudioInterface.cpp
View File
@@ -114,6 +114,7 @@ struct AudioInterface : Module {
AudioInterface() {
AudioInterface() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
port.maxChannels = std::max(AUDIO_OUTPUTS, AUDIO_INPUTS);
onSampleRateChange();
onSampleRateChange();
}
}
Write
Preview
Loading…
Cancel
Save