envelope value not displayed in specified units

Author
jcatena
Max Output Level: -82 dBFS
  • Total Posts : 404
  • Joined: 2009/06/09 09:34:04
  • Status: offline
2009/06/11 01:11:32 (permalink)

envelope value not displayed in specified units

I posted in the sonar forum a question that I should have put here instead, sorry. Here is it:
SONAR 8.3.1 displays the values of envelopes as 0...100%, although my plugins report parameter info as specified by DirectShow and the Cakewalk plugin SDK as far as I can see.
The plugins receive queries for paramter info through IMediaParams::GetParamInfo(ULONG dwParamIndex, MP_PARAMINFO* pInfo), and I verified my plugins write all the fields in the MP_PARAMINFO struct pointed to by pInfo correctly, yet SONAR still display the values as 0...100%.
An example of MP_PARAMINFO fields:
mpType = MPT_FLOAT; mopCaps = MP_QUADS; mpdMinValue = -20.0; mpdMaxValue = 20.0; mpdNeutralValue = 0.0; szUnitText = L"dB"; szLabel = L"Gain";
I'm only finding this problem with SONAR, other hosts are displaying the values correctly. I mean, for the former example, SONAR displays 0...100%, and not -20.0 to 20.0 dB as expected and as other hosts show.
I'm clueless, and I'd be grateful if someone at Cakewalk could point me to the right direction. What might be making SONAR not to use the info I put in MP_PARAMINFO when displaying the value?
#1

1 Reply Related Threads

    RTGraham
    Max Output Level: -57 dBFS
    • Total Posts : 1824
    • Joined: 2004/03/29 20:17:13
    • Location: New York
    • Status: offline
    RE: envelope value not displayed in specified units 2009/07/17 11:44:15 (permalink)
    I've seen this too, from the end-user perspective, and it is indeed frustrating.

    ~~~~~~~~~~
    Russell T. Graham
    Keys, Vocals, Songwriting, Production
    russell DOT graham AT rtgproductions DOT com
    www DOT myspace DOT com SLASH russelltgraham
    #2
    Jump to:
    © 2024 APG vNext Commercial Version 5.1