Browse Source

BLOCKS API: added an internal option for tweaking the topology change message schedule

tags/2021-05-28
jules 7 years ago
parent
commit
e40b6c09dc
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp

+ 8
- 1
modules/juce_blocks_basics/topology/juce_PhysicalTopologySource.cpp View File

@@ -1198,7 +1198,14 @@ struct PhysicalTopologySource::Internal
{
TopologyBroadcastThrottle() = default;
void scheduleTopologyChangeCallback() { startTimer (750); }
void scheduleTopologyChangeCallback()
{
#ifdef JUCE_BLOCKS_TOPOLOGY_BROADCAST_THROTTLE_TIME
startTimer (JUCE_BLOCKS_TOPOLOGY_BROADCAST_THROTTLE_TIME);
#else
startTimer (750);
#endif
}
void timerCallback() override
{


Loading…
Cancel
Save