MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Init

Method Init

include/AudioDevice.hpp:40–45  ·  view source on GitHub ↗

* Initialize audio device and context. * * @throws raylib::RaylibException Throws if the AudioDevice failed to initialize. */

Source from the content-addressed store, hash-verified

38 * @throws raylib::RaylibException Throws if the AudioDevice failed to initialize.
39 */
40 static void Init() {
41 ::InitAudioDevice();
42 if (!IsReady()) {
43 throw RaylibException("Failed to initialize AudioDevice");
44 }
45 }
46
47 /**
48 * Close the audio device and context.

Callers

nothing calls this directly

Calls 1

RaylibExceptionClass · 0.85

Tested by

no test coverage detected