2011/04/23 17:19:30
bitman
Hi,

How do I access Send volume for send #2 (if present, and it is).
I have access in my plug in program to send #1's volume via MIX_PARAM_SEND_VOL, but cannot for the life of me figure out how to control send volume #2.

Thanks in advance


2011/04/26 15:23:37
MNorman
For Example (see definitions of SONAR_MIXER_PARAM and SetMixParam in ControlSurface.idl):

m_pMixer->SetMixParam(
     MIX_STRIP_TRACK        // SONAR_MIXER_STRIP type
    ,dwStrip                // Strip Number 
    ,MIX_PARAM_SEND_VOL     // SONAR_MIXER_PARAM
    ,dwParamNum             // Output Number, in this case
    ,fSendVol               // Volume (0-1.0f)
    ,MIX_TOUCH_NORMAL);     // SONAR_MIXER_TOUCH
2011/04/26 18:37:31
bitman


Thanks. I once was blind, but now I see.

...And it works too!

2011/04/27 11:42:52
MNorman
Kewl, glad to have helped.  In best Marlon Brando Godfather voice "some day I may ask you for a favor"...

Cheers,
Mike
© 2024 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account