Update AudioMain.cpp
This commit is contained in:
parent
be8b97983a
commit
a7f7ea5058
|
@ -107,11 +107,12 @@ EXPORT void CALL AiLenChanged(void)
|
||||||
EXPORT uint32_t CALL AiReadLength(void)
|
EXPORT uint32_t CALL AiReadLength(void)
|
||||||
{
|
{
|
||||||
WriteTrace(TraceAudioInterface, TraceDebug, "Start");
|
WriteTrace(TraceAudioInterface, TraceDebug, "Start");
|
||||||
if (g_SoundDriver == NULL)
|
if (g_SoundDriver == NULL)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return g_SoundDriver->AI_ReadLength();
|
WriteTrace(TraceAudioInterface, TraceDebug, "Done (res: %d)", g_SoundDriver->AI_ReadLength());
|
||||||
|
return g_SoundDriver->AI_ReadLength();
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT void CALL AiUpdate(int32_t Wait)
|
EXPORT void CALL AiUpdate(int32_t Wait)
|
||||||
|
|
Loading…
Reference in New Issue