| 500 | |
| 501 | |
| 502 | void AudioContext::disconnectParam(std::shared_ptr<AudioParam> param, std::shared_ptr<AudioNode> driver, int index) |
| 503 | { |
| 504 | if (!param) |
| 505 | throw std::invalid_argument("No parameter specified"); |
| 506 | |
| 507 | if (index >= driver->numberOfOutputs()) |
| 508 | throw std::out_of_range("Output index greater than available outputs on the driver"); |
| 509 | |
| 510 | m_internal->pendingParamConnections.enqueue({ConnectionOperationKind::Disconnect, param, driver, index}); |
| 511 | } |
| 512 | |
| 513 | void AudioContext::update() |
| 514 | { |
nothing calls this directly
no test coverage detected