Hi,
Quote:
Is there any straightforward way to test whether the audio stream is actually mono, despite coming in on two channels? (I mean other than explicitly checking that the two channels null.)
|
Hm..generally I wouldn't think so as that's how it's defined (S=L-R).
Reaper specifically, tracks always have an even number of channels, so they are at least stereo, and mono tracks don't exist (you probably figured that out).
To check if a plugin receives a mono stream one could check via
TrackFX_GetPinMappings() Api (similar for Take FX), which is possible for (VST) plugins to access via the
VST extension SDK.
As you're using JUCE, there's an example in the JUCE source how to access the Reaper API:
https://github.com/juce-framework/JU...ewPluginDemo.h