mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-25 06:37:29 +01:00
Reduce clutter when loading session with loop range
``` ARDOUR::TransportFSM::process_events() ARDOUR::TransportFSM::enqueue(ARDOUR::TransportFSM::Event*) ARDOUR::Session::process_event(ARDOUR::SessionEvent*) ARDOUR::SessionEventManager::merge_event(ARDOUR::SessionEvent*) ARDOUR::Session::queue_event(ARDOUR::SessionEvent*) ARDOUR::Session::request_locate(long, bool, ARDOUR::LocateTransportDisposition, ARDOUR::TransportRequestSource) ARDOUR::Session::auto_loop_changed(ARDOUR::Location*) ARDOUR::Session::set_auto_loop_location(ARDOUR::Location*) [...] ```
This commit is contained in:
parent
885fd2caff
commit
c625e13a6f
1 changed files with 6 additions and 5 deletions
|
|
@ -76,11 +76,12 @@ using namespace Temporal;
|
|||
#ifdef NDEBUG
|
||||
# define ENSURE_PROCESS_THREAD do {} while (0)
|
||||
#else
|
||||
# define ENSURE_PROCESS_THREAD \
|
||||
do { \
|
||||
if (!AudioEngine::instance()->in_process_thread()) { \
|
||||
PBD::stacktrace (std::cerr, 30); \
|
||||
} \
|
||||
# define ENSURE_PROCESS_THREAD \
|
||||
do { \
|
||||
if (!AudioEngine::instance()->in_process_thread() \
|
||||
&& !loading ()) { \
|
||||
PBD::stacktrace (std::cerr, 30); \
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue