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)
|
EXPORT uint32_t CALL AiReadLength(void)
|
||||||
{
|
{
|
||||||
WriteTrace(TraceAudioInterface, TraceDebug, "Called");
|
WriteTrace(TraceAudioInterface, TraceDebug, "Start");
|
||||||
|
if (g_SoundDriver == NULL)
|
||||||
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
return g_SoundDriver->AI_ReadLength();
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT void CALL AiUpdate(int32_t Wait)
|
EXPORT void CALL AiUpdate(int32_t Wait)
|
||||||
|
|
Loading…
Reference in New Issue