INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: bug: VST controls refresh rate too low  (Read 2159 times)

XAHTP

  • Recent member
  • *
  • Posts: 7
bug: VST controls refresh rate too low
« on: August 11, 2009, 10:41:57 pm »

Setup: Vista 64, MC 14.0.46, WASAPI exclusive mode
 
I'm using iZotope Ozone 4 VST and the refresh rate of oscillator/controls/etc in the DSP studio window is too low. Something like 3fps while in other applications its normal and smooth (at least 20fps).
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42444
  • Shoes gone again!
Re: bug: VST controls refresh rate too low
« Reply #1 on: August 11, 2009, 11:02:39 pm »

Thanks for the report.  We'll take a look.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42444
  • Shoes gone again!
Re: bug: VST controls refresh rate too low
« Reply #2 on: August 14, 2009, 05:28:04 pm »

This looks like a problem with VST plugins that don't nicely support threading.

The user interface of a program all runs in one thread.  With Media Center, the audio engine runs in background threads.  This is good design, for a whole bunch of reasons.

This means the user interface of a VST plugin must understand that processReplacing(...) (a VST function) will be called from a thread other than the UI thread.

Luckily most plugins handle this correctly, but a few do not.  They're likely trying to do cross-thread communication in a way that isn't safe.  Posting a message to the UI from the processReplacing(...) function or running a timer in the UI would both be safe ways of updating.

In this case, it would be worth contacting the iZotope guys.  We're happy to talk technical details with them if it would help.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up