| 424 | } |
| 425 | |
| 426 | void FilterControl::parameterValueChanged(int parameterIndex, float newValue) |
| 427 | { |
| 428 | // When a parameter changes (on ANY thread), we simply trigger an async update. |
| 429 | // This is a very lightweight, non-blocking, and thread-safe call. |
| 430 | // It posts a message to the message queue, ensuring handleAsyncUpdate() |
| 431 | // will be called safely on the message thread. |
| 432 | triggerAsyncUpdate(); |
| 433 | } |
| 434 | |
| 435 | void FilterControl::handleAsyncUpdate() |
| 436 | { |
nothing calls this directly
no outgoing calls
no test coverage detected