MCPcopy Create free account
hub / github.com/clementgallet/libTAS / FMOD_System_Create

Function FMOD_System_Create

src/library/audio/fmod/fmod.cpp:33–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31DEFINE_ORIG_POINTER(_ZN4FMOD6System9setOutputE15FMOD_OUTPUTTYPE)
32
33int FMOD_System_Create(void **system, int version)
34{
35 LOGTRACE(LCF_SOUND);
36
37 LINK_NAMESPACE(FMOD_System_Create, "fmod");
38 LINK_NAMESPACE(FMOD_System_SetOutput, "fmod");
39
40 int ret = orig::FMOD_System_Create(system, version);
41
42 /* We force the output to be ALSA */
43 orig::FMOD_System_SetOutput(*system, 11 /* FMOD_OUTPUTTYPE_ALSA */);
44
45 return ret;
46}
47
48int FMOD_EventSystem_Create(void **eventsystem)
49{

Callers

nothing calls this directly

Calls 1

FMOD_System_SetOutputFunction · 0.85

Tested by

no test coverage detected