diff --git a/Source/Project64-audio/Driver/SoundBase.cpp b/Source/Project64-audio/Driver/SoundBase.cpp index 52961921d..1293abd4a 100644 --- a/Source/Project64-audio/Driver/SoundBase.cpp +++ b/Source/Project64-audio/Driver/SoundBase.cpp @@ -182,6 +182,11 @@ void SoundDriverBase::BufferAudio() WriteTrace(TraceAudioDriver, TraceVerbose, "Done (m_BufferRemaining: 0x%08X)", m_BufferRemaining); } +uint32_t SoundDriverBase::AI_ReadLength() +{ + return (m_AI_DMAPrimaryBytes & ~ 3); +} + void SoundDriverBase::SetFrequency(uint32_t /*Frequency*/) { } @@ -192,4 +197,4 @@ void SoundDriverBase::StartAudio() void SoundDriverBase::StopAudio() { -} \ No newline at end of file +}