AudioCommon: Get initial sample rates from AudioInterface

This commit is contained in:
JosJuice
2020-08-29 16:42:57 +02:00
parent 1a1b89e7e8
commit bd44106fec
4 changed files with 17 additions and 3 deletions

View File

@ -293,11 +293,16 @@ bool IsPlaying()
return (s_control.PSTAT == 1);
}
unsigned int GetAIDSampleRate()
u32 GetAIDSampleRate()
{
return s_aid_sample_rate;
}
u32 GetAISSampleRate()
{
return s_ais_sample_rate;
}
u32 Get32KHzSampleRate()
{
return SConfig::GetInstance().bWii ? 32000 : 32029;