Since LLE can now output at 48kHz, adjust the audio dumper so that it will respect the set sample rate for LLE as well as HLE. This fixes audio dumping for LLE at 48kHz.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7567 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
smelenchuk 2011-05-28 23:32:11 +00:00
parent 3bcb406c46
commit 2bc3965c31
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ bool WaveFileWriter::Start(const char *filename, unsigned int HLESampleRate)
Write(16); // size of fmt block
Write(0x00020001); //two channels, uncompressed
const u32 sample_rate = SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE ? HLESampleRate : 32000;
const u32 sample_rate = HLESampleRate;
Write(sample_rate);
Write(sample_rate * 2 * 2); //two channels, 16bit