| 695 | } |
| 696 | |
| 697 | void AudioContext::startOfflineRendering() |
| 698 | { |
| 699 | if (!m_isOfflineContext) |
| 700 | throw std::runtime_error("context was not constructed for offline rendering"); |
| 701 | |
| 702 | m_isInitialized = true; |
| 703 | device_callback->start(); |
| 704 | } |
| 705 | |
| 706 | void AudioContext::suspend() |
| 707 | { |