Update AudioMain.cpp
This commit is contained in:
parent
1cb0ff0a49
commit
be8b97983a
|
@ -106,8 +106,12 @@ EXPORT void CALL AiLenChanged(void)
|
|||
|
||||
EXPORT uint32_t CALL AiReadLength(void)
|
||||
{
|
||||
WriteTrace(TraceAudioInterface, TraceDebug, "Called");
|
||||
return 0;
|
||||
WriteTrace(TraceAudioInterface, TraceDebug, "Start");
|
||||
if (g_SoundDriver == NULL)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return g_SoundDriver->AI_ReadLength();
|
||||
}
|
||||
|
||||
EXPORT void CALL AiUpdate(int32_t Wait)
|
||||
|
@ -208,4 +212,4 @@ extern "C" void UseUnregisteredSetting(int /*SettingID*/)
|
|||
#ifdef _WIN32
|
||||
DebugBreak();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue