* Initialize audio device and context. * * @param lateInit Whether or not to post-pone initializing the context. * * @throws raylib::RaylibException Throws if the AudioDevice failed to initialize. */
| 19 | * @throws raylib::RaylibException Throws if the AudioDevice failed to initialize. |
| 20 | */ |
| 21 | explicit AudioDevice(bool lateInit = false) { |
| 22 | if (!lateInit) { |
| 23 | Init(); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | AudioDevice(const AudioDevice&) = delete; |
| 28 | AudioDevice& operator=(const AudioDevice&) = delete; |
nothing calls this directly
no outgoing calls
no test coverage detected