mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06: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:
@ -409,6 +409,14 @@
|
|||||||
<References>
|
<References>
|
||||||
</References>
|
</References>
|
||||||
<Files>
|
<Files>
|
||||||
|
<File
|
||||||
|
RelativePath=".\Src\AudioCommon.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\Src\AudioCommon.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\Src\AOSoundStream.cpp"
|
RelativePath=".\Src\AOSoundStream.cpp"
|
||||||
>
|
>
|
||||||
@ -417,6 +425,7 @@
|
|||||||
RelativePath=".\Src\AOSoundStream.h"
|
RelativePath=".\Src\AOSoundStream.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\Src\DSoundStream.cpp"
|
RelativePath=".\Src\DSoundStream.cpp"
|
||||||
>
|
>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define _AUDIO_COMMON_H
|
#define _AUDIO_COMMON_H
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "pluginspecs_dsp.h"
|
#include "../../../PluginSpecs/pluginspecs_dsp.h"
|
||||||
#include "SoundStream.h"
|
#include "SoundStream.h"
|
||||||
|
|
||||||
class CMixer;
|
class CMixer;
|
||||||
|
@ -31,7 +31,7 @@ bool DSound::CreateBuffer()
|
|||||||
|
|
||||||
pcmwf.wf.wFormatTag = WAVE_FORMAT_PCM;
|
pcmwf.wf.wFormatTag = WAVE_FORMAT_PCM;
|
||||||
pcmwf.wf.nChannels = 2;
|
pcmwf.wf.nChannels = 2;
|
||||||
pcmwf.wf.nSamplesPerSec = sampleRate;
|
pcmwf.wf.nSamplesPerSec = m_mixer->GetSampleRate();
|
||||||
pcmwf.wf.nBlockAlign = 4;
|
pcmwf.wf.nBlockAlign = 4;
|
||||||
pcmwf.wf.nAvgBytesPerSec = pcmwf.wf.nSamplesPerSec * pcmwf.wf.nBlockAlign;
|
pcmwf.wf.nAvgBytesPerSec = pcmwf.wf.nSamplesPerSec * pcmwf.wf.nBlockAlign;
|
||||||
pcmwf.wBitsPerSample = 16;
|
pcmwf.wBitsPerSample = 16;
|
||||||
|
Reference in New Issue
Block a user