mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
small windows compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2757 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fff663e8c7
commit
ff9fcce383
3 changed files with 13 additions and 4 deletions
|
@ -31,7 +31,7 @@ bool DSound::CreateBuffer()
|
|||
|
||||
pcmwf.wf.wFormatTag = WAVE_FORMAT_PCM;
|
||||
pcmwf.wf.nChannels = 2;
|
||||
pcmwf.wf.nSamplesPerSec = sampleRate;
|
||||
pcmwf.wf.nSamplesPerSec = m_mixer->GetSampleRate();
|
||||
pcmwf.wf.nBlockAlign = 4;
|
||||
pcmwf.wf.nAvgBytesPerSec = pcmwf.wf.nSamplesPerSec * pcmwf.wf.nBlockAlign;
|
||||
pcmwf.wBitsPerSample = 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue