justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Sorry, I think I found the answer to my own question. Calling PreventUIRefresh(1) before TrackFX_SetParamNormalized() on the audio thread did the trick. And after that in the main thread: PreventUIRefresh(-1). In order to make this a question: Is this the right approach? Thanks!
Asked by helgoboss (188.105.155.x) on June 28 2016, 1:16pm
Reply on June 28 2016, 1:55pm (edited at June 28 2016, 1:56pm):
    No this is a very bad idea. In fact, doing pretty much anything via the REAPER API from a thread other than the main thread is likely to be bad/unpredictable. How are you in (one of) the audio threads to begin with? Don't answer here, post on the developer forum.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS