Streaming/DTK audio: fix pausing playback.

This commit is contained in:
magumagu
2014-06-15 15:08:47 -07:00
parent affb7c17fc
commit a282f181cd
4 changed files with 35 additions and 11 deletions

View File

@ -143,8 +143,7 @@ void DoState(PointerWrap &p)
static void GenerateAudioInterrupt();
static void UpdateInterrupts();
static void IncreaseSampleCount(const u32 _uAmount);
void ReadStreamBlock(s16* _pPCM);
u64 GetAIPeriod();
static u64 GetAIPeriod();
int et_AI;
void Init()
@ -307,4 +306,9 @@ u64 GetAIPeriod()
return period;
}
bool IsAISPlaying()
{
return m_Control.PSTAT;
}
} // end of namespace AudioInterface