Build Speaker.cpp.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7226 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-02-22 14:06:06 +00:00
commit 2b6a8c1cf8
4 changed files with 3 additions and 4 deletions

View file

@ -124,7 +124,7 @@ set(SRCS Src/ActionReplay.cpp
Src/HW/WiimoteEmu/Attachment/Turntable.cpp
Src/HW/WiimoteEmu/EmuSubroutines.cpp
Src/HW/WiimoteEmu/Encryption.cpp
#Src/HW/WiimoteEmu/Speaker.cpp
Src/HW/WiimoteEmu/Speaker.cpp
Src/HW/WiimoteReal/WiimoteReal.cpp
Src/IPC_HLE/WII_IPC_HLE.cpp
Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp

View file

@ -70,7 +70,6 @@ ADPCMChannelStatus cs;
void Wiimote::SpeakerData(wm_speaker_data* sd)
{
s16 samples[40];
u16 sampleRate = 6000000 / Common::swap16(m_reg_speaker.sample_rate);
if (m_reg_speaker.format == 0x40)
{

View file

@ -118,7 +118,7 @@ files += [
"HW/WiimoteEmu/Attachment/Turntable.cpp",
"HW/WiimoteEmu/EmuSubroutines.cpp",
"HW/WiimoteEmu/Encryption.cpp",
#"HW/WiimoteEmu/Speaker.cpp",
"HW/WiimoteEmu/Speaker.cpp",
"HW/WiimoteReal/WiimoteReal.cpp",
"HW/GCPadEmu.cpp",
"HW/HW.cpp",