justin = { main feed , music , code , askjf , social , 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: Jeffos put a check in SWS to not patch chunk while recording back in 2010. goo.gl/9pFVBdYou think it's still necessary ? Asking b/c of goo.gl/wqmf5C
Asked by nofish (79.246.89.x) on October 25 2017, 12:28pm
Reply on October 25 2017, 1:33pm:
    Looking at the earlier comments, that code was merged-in in ab997b8, hard to see the original context though since that is not a merge commit (just a regular commit). It does mention this thread, most of which is obsolete. There shouldn't be anything special about recording-vs-playback, however I would put a couple of caveats on there:
    1. most REAPER APIs are designed only to be used from the main (GUI) thread, not from audio threads or from plug-in-created threads.
    2. pretty much anything done during playback should be able to be done during recording. If you're modifying track recording parameters, those parameters may not latch during recording until recording is stopped/started again (or the track disarmed/armed, etc).
    3. from the main thread, if you set state, you might be able to interrupt audio, but in general it shouldn't be a crash.
    I don't really know what the original intent was, I'd try testing a lot with that check disabled... but it shouldn't be necessary in general.

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


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