mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +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
|
@ -410,13 +410,22 @@
|
||||||
</References>
|
</References>
|
||||||
<Files>
|
<Files>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\Src\AOSoundStream.cpp"
|
RelativePath=".\Src\AudioCommon.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\Src\AOSoundStream.h"
|
RelativePath=".\Src\AudioCommon.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\Src\AOSoundStream.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\Src\AOSoundStream.h"
|
||||||
|
>
|
||||||
|
</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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue