Resolved: #876 Applied patch from Nille02 - typos in header move branch.

This commit is contained in:
Matt Raykowski 2010-05-10 20:39:16 -05:00
parent 173cc94053
commit 27088aa006
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@
#endif #endif
#define DIRECTSOUND_VERSION 0x0800 #define DIRECTSOUND_VERSION 0x0800
#include ".nel/sound/driver/sound_driver.h" #include "nel/sound/driver/sound_driver.h"
#include <cmath> #include <cmath>
@ -578,6 +578,7 @@ void CSoundDriverDSound::initDevice(const std::string &device, ISoundDriver::TSo
} }
} }
memset(ptr, 0, bytes); memset(ptr, 0, bytes);
_PrimaryBuffer->Unlock(ptr, bytes, 0, 0); _PrimaryBuffer->Unlock(ptr, bytes, 0, 0);

View file

@ -25,7 +25,7 @@
#include <nel/misc/file.h> #include <nel/misc/file.h>
#include <nel/misc/mem_stream.h> #include <nel/misc/mem_stream.h>
#include <nel/misc/stream.h> #include <nel/misc/stream.h>
#include "music_buffer.h" #include "nel/sound/driver/music_buffer.h"
// Project includes // Project includes
#include "sound_driver_xaudio2.h" #include "sound_driver_xaudio2.h"