Alternative approach for zero-latency cables

This commit is contained in:
falkTX 2022-02-06 22:26:13 +00:00
parent 7722e5df35
commit c1f436eea0
2 changed files with 6 additions and 0 deletions

View file

@ -124,6 +124,7 @@ struct Port {
/** Returns a pointer to the array of voltages beginning with firstChannel.
The pointer can be used for reading and writing.
*/
// TODO convert to const float* for zero-latency cable stuff and fix all plugins after
float* getVoltages(int firstChannel = 0) {
return &cvoltages[firstChannel];
}