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
|
@ -410,13 +410,22 @@
|
|||
</References>
|
||||
<Files>
|
||||
<File
|
||||
RelativePath=".\Src\AOSoundStream.cpp"
|
||||
RelativePath=".\Src\AudioCommon.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Src\AOSoundStream.h"
|
||||
RelativePath=".\Src\AudioCommon.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Src\AOSoundStream.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Src\AOSoundStream.h"
|
||||
>
|
||||
</File>
|
||||
|
||||
<File
|
||||
RelativePath=".\Src\DSoundStream.cpp"
|
||||
>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define _AUDIO_COMMON_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "pluginspecs_dsp.h"
|
||||
#include "../../../PluginSpecs/pluginspecs_dsp.h"
|
||||
#include "SoundStream.h"
|
||||
|
||||
class CMixer;
|
||||
|
|
|
@ -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…
Reference in New Issue