uad_set_sample_rate
Change the system sample rate to match session needs or an external clock master. Requires confirm=true and refuses while audio flows to prevent glitches.
Instructions
Change the system sample rate (e.g. 44100, 48000, 96000). Requires confirm=true and refuses while audio is flowing, because every running stream will glitch. Use when: a session needs a different rate, or to match an external clock master. Not for: fixing a lock failure on its own - check the clock source first with uad_get_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||