mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 02:50:53 +00:00
Changed: #876 Nel driver_xaudio2 and driver_dsound failed to compile
This commit is contained in:
parent
00cd0b6e92
commit
7bc84e4959
51 changed files with 151 additions and 312 deletions
|
@ -17,8 +17,6 @@
|
|||
|
||||
#include "stddsound.h"
|
||||
#include "buffer_dsound.h"
|
||||
#include "nel/misc/path.h"
|
||||
#include "nel/misc/file.h"
|
||||
#include "sound_driver_dsound.h"
|
||||
|
||||
#define NOMINMAX
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#ifndef NL_BUFFER_DSOUND_H
|
||||
#define NL_BUFFER_DSOUND_H
|
||||
|
||||
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stddsound.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
|
||||
#include "listener_dsound.h"
|
||||
#include "sound_driver_dsound.h"
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#ifndef NL_LISTENER_DSOUND_H
|
||||
#define NL_LISTENER_DSOUND_H
|
||||
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include <dsound.h>
|
||||
#include <nel/sound/driver/listener.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#ifndef NL_SOUND_DRIVER_DSOUND_H
|
||||
#define NL_SOUND_DRIVER_DSOUND_H
|
||||
|
||||
#include "nel/misc/log.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
|
||||
#include "source_dsound.h"
|
||||
#include "buffer_dsound.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
||||
|
|
|
@ -16,14 +16,10 @@
|
|||
|
||||
|
||||
#include "stddsound.h"
|
||||
#include "nel/misc/hierarchical_timer.h"
|
||||
#include "source_dsound.h"
|
||||
#include "sound_driver_dsound.h"
|
||||
#include "buffer_dsound.h"
|
||||
#include "listener_dsound.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
#ifndef NL_SOURCE_DSOUND_H
|
||||
#define NL_SOURCE_DSOUND_H
|
||||
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
|
||||
#include <dsound.h>
|
||||
#include <nel/sound/driver/source.h>
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
||||
|
|
|
@ -22,15 +22,24 @@
|
|||
# include <eax.h>
|
||||
#endif
|
||||
|
||||
#include <dsound.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
#include <nel/misc/common.h>
|
||||
#include <nel/misc/time_nl.h>
|
||||
#include <nel/misc/fast_mem.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/vector.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/log.h>
|
||||
#include <nel/misc/hierarchical_timer.h>
|
||||
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
#include <nel/sound/driver/source.h>
|
||||
#include <nel/sound/driver/listener.h>
|
||||
|
||||
/* end of file */
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
|
||||
#include "stdfmod.h"
|
||||
#include "buffer_fmod.h"
|
||||
#include "nel/misc/path.h"
|
||||
#include "nel/misc/file.h"
|
||||
#include "sound_driver_fmod.h"
|
||||
|
||||
#ifdef NL_OS_WINDOWS
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
#define NL_BUFFER_FMOD_H
|
||||
|
||||
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
#include <fmod.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
|
||||
namespace NLSOUND {
|
||||
|
|
|
@ -15,13 +15,9 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdfmod.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
|
||||
#include "listener_fmod.h"
|
||||
#include "sound_driver_fmod.h"
|
||||
|
||||
#include <fmod.h>
|
||||
|
||||
|
||||
using namespace NLMISC;
|
||||
|
||||
|
|
|
@ -17,13 +17,7 @@
|
|||
#ifndef NL_LISTENER_FMOD_H
|
||||
#define NL_LISTENER_FMOD_H
|
||||
|
||||
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include "nel/misc/matrix.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
//#ifdef NL_OS_WINDOWS
|
||||
//#include <dsound.h>
|
||||
//#endif
|
||||
#include <nel/sound/driver/listener.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
||||
|
|
|
@ -16,18 +16,6 @@
|
|||
|
||||
#include "stdfmod.h"
|
||||
#include "music_channel_fmod.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// 3rd Party includes
|
||||
#include <fmod.h>
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/big_file.h>
|
||||
|
||||
// Project includes
|
||||
#include "sound_driver_fmod.h"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -16,14 +16,8 @@
|
|||
|
||||
#ifndef NL_MUSIC_CHANNEL_FMOD_H
|
||||
#define NL_MUSIC_CHANNEL_FMOD_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include "nel/sound/driver/music_channel.h"
|
||||
|
||||
// Project includes
|
||||
#include <nel/sound/driver/music_channel.h>
|
||||
|
||||
struct FSOUND_STREAM;
|
||||
|
||||
|
|
|
@ -16,18 +16,11 @@
|
|||
|
||||
#include "stdfmod.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "nel/misc/hierarchical_timer.h"
|
||||
#include "nel/misc/path.h"
|
||||
#include "nel/misc/file.h"
|
||||
#include "nel/misc/dynloadlib.h"
|
||||
#include "nel/misc/big_file.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
|
||||
#include "sound_driver_fmod.h"
|
||||
#include "listener_fmod.h"
|
||||
#include "music_channel_fmod.h"
|
||||
#include "source_fmod.h"
|
||||
#include "buffer_fmod.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,17 +16,8 @@
|
|||
|
||||
#ifndef NL_SOUND_DRIVER_FMOD_H
|
||||
#define NL_SOUND_DRIVER_FMOD_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
// STL includes
|
||||
#include <iostream>
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/log.h>
|
||||
|
||||
// Project includes
|
||||
#include "source_fmod.h"
|
||||
#include "buffer_fmod.h"
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class IListener;
|
||||
|
|
|
@ -16,16 +16,10 @@
|
|||
|
||||
|
||||
#include "stdfmod.h"
|
||||
#include "nel/misc/hierarchical_timer.h"
|
||||
#include "source_fmod.h"
|
||||
#include "sound_driver_fmod.h"
|
||||
#include "buffer_fmod.h"
|
||||
#include "listener_fmod.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include <cfloat>
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -17,13 +17,9 @@
|
|||
#ifndef NL_SOURCE_FMOD_H
|
||||
#define NL_SOURCE_FMOD_H
|
||||
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
|
||||
//#ifdef NL_OS_WINDOWS
|
||||
//#include <dsound.h>
|
||||
//#endif
|
||||
#include <nel/sound/driver/source.h>
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CBufferFMod;
|
||||
|
|
|
@ -21,16 +21,24 @@
|
|||
#endif
|
||||
#include <fmod.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include <nel/misc/common.h>
|
||||
#include <nel/misc/time_nl.h>
|
||||
#include <nel/misc/singleton.h>
|
||||
#include <nel/misc/fast_mem.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/vector.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/matrix.h>
|
||||
#include <nel/misc/big_file.h>
|
||||
#include <nel/misc/hierarchical_timer.h>
|
||||
#include <nel/misc/dynloadlib.h>
|
||||
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
#include <nel/sound/driver/source.h>
|
||||
#include <nel/sound/driver/listener.h>
|
||||
|
||||
/* end of file */
|
||||
|
|
|
@ -15,11 +15,8 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdopenal.h"
|
||||
#include "buffer_al.h"
|
||||
|
||||
#include <nel/misc/fast_mem.h>
|
||||
|
||||
#include "sound_driver_al.h"
|
||||
#include "buffer_al.h"
|
||||
|
||||
using namespace NLMISC;
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
|
||||
#ifndef NL_BUFFER_AL_H
|
||||
#define NL_BUFFER_AL_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include "stdopenal.h"
|
||||
#include "effect_al.h"
|
||||
|
||||
#include "sound_driver_al.h"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -16,13 +16,6 @@
|
|||
|
||||
#ifndef NLSOUND_EFFECT_AL_H
|
||||
#define NLSOUND_EFFECT_AL_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
|
||||
// Project includes
|
||||
|
||||
namespace NLSOUND {
|
||||
class CSoundDriverAL;
|
||||
|
|
|
@ -1,11 +1,24 @@
|
|||
|
||||
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
// Copyright (C) 2010 Winch Gate Property Limited
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Affero General Public License as
|
||||
// published by the Free Software Foundation, either version 3 of the
|
||||
// License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU Affero General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifndef NL_EXT_AL_H
|
||||
#define NL_EXT_AL_H
|
||||
#include "stdopenal.h"
|
||||
|
||||
#ifdef NL_OS_WINDOWS
|
||||
# define EFX_CREATIVE_AVAILABLE 0
|
||||
# define EFX_CREATIVE_AVAILABLE 1
|
||||
# define EAX_AVAILABLE 0
|
||||
#else
|
||||
# define EFX_CREATIVE_AVAILABLE 0
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include "stdopenal.h"
|
||||
#include "listener_al.h"
|
||||
|
||||
#include "sound_driver_al.h"
|
||||
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
#ifndef NL_LISTENER_AL_H
|
||||
#define NL_LISTENER_AL_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
#include <nel/sound/driver/listener.h>
|
||||
#include <nel/misc/singleton.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
|
|
|
@ -16,11 +16,6 @@
|
|||
|
||||
#include "stdopenal.h"
|
||||
#include "sound_driver_al.h"
|
||||
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/dynloadlib.h>
|
||||
#include <nel/misc/fast_mem.h>
|
||||
|
||||
#include "buffer_al.h"
|
||||
#include "listener_al.h"
|
||||
#include "effect_al.h"
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
|
||||
#ifndef NL_SOUND_DRIVER_AL_H
|
||||
#define NL_SOUND_DRIVER_AL_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CBufferAL;
|
||||
|
|
|
@ -15,16 +15,11 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdopenal.h"
|
||||
#include "source_al.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
#include "sound_driver_al.h"
|
||||
#include "listener_al.h"
|
||||
#include "effect_al.h"
|
||||
#include "buffer_al.h"
|
||||
#include "source_al.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
#ifndef NL_SOURCE_AL_H
|
||||
#define NL_SOURCE_AL_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
#include <queue>
|
||||
|
||||
#include <nel/sound/driver/source.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class IBuffer;
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
#include <exception>
|
||||
#include <utility>
|
||||
#include <deque>
|
||||
#include <queue>
|
||||
#include <cfloat>
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
|
@ -38,12 +42,14 @@
|
|||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/vector.h>
|
||||
#include <nel/misc/singleton.h>
|
||||
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include "nel/sound/driver/effect.h"
|
||||
#include <nel/misc/fast_mem.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/dynloadlib.h>
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
#include <nel/sound/driver/source.h>
|
||||
#include <nel/sound/driver/listener.h>
|
||||
#include <nel/sound/driver/effect.h>
|
||||
|
||||
#include "ext_al.h"
|
||||
|
||||
|
|
|
@ -316,54 +316,58 @@
|
|||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="include"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\..\include\nel\sound\driver\buffer.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\nel\sound\driver\effect.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\nel\sound\driver\listener.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\nel\sound\driver\music_channel.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\nel\sound\driver\sound_driver.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\include\nel\sound\driver\source.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="buffer.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="buffer.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\effect.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\effect.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="listener.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="listener.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\music_channel.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\music_channel.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="sound_driver.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="sound_driver.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="source.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="source.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
|
|
@ -15,15 +15,10 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "adpcm_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/debug.h>
|
||||
|
||||
// Project includes
|
||||
#include "buffer_xaudio2.h"
|
||||
#include "adpcm_xaudio2.h"
|
||||
|
||||
using namespace std;
|
||||
// using namespace NLMISC;
|
||||
|
|
|
@ -16,16 +16,8 @@
|
|||
|
||||
#ifndef NLSOUND_ADPCM_XAUDIO2_H
|
||||
#define NLSOUND_ADPCM_XAUDIO2_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/mutex.h>
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
|
||||
// Project includes
|
||||
// #include "sound_driver_xaudio2.h"
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CBufferXAudio2;
|
||||
|
|
|
@ -15,16 +15,9 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "buffer_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/file.h>
|
||||
|
||||
// Project includes
|
||||
#include "buffer_xaudio2.h"
|
||||
#include "sound_driver_xaudio2.h"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -16,14 +16,8 @@
|
|||
|
||||
#ifndef NLSOUND_BUFFER_XAUDIO2_H
|
||||
#define NLSOUND_BUFFER_XAUDIO2_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
|
||||
// Project includes
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CSoundDriverXAudio2;
|
||||
|
|
|
@ -15,17 +15,11 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "effect_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
// #include <nel/misc/debug.h>
|
||||
#include <nel/misc/common.h>
|
||||
|
||||
// Project includes
|
||||
#include "sound_driver_xaudio2.h"
|
||||
#include "listener_xaudio2.h"
|
||||
#include "effect_xaudio2.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,13 +16,6 @@
|
|||
|
||||
#ifndef NLSOUND_EFFECT_XAUDIO2_H
|
||||
#define NLSOUND_EFFECT_XAUDIO2_H
|
||||
#include <nel/misc/types_nl.h>
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
|
||||
// Project includes
|
||||
|
||||
namespace NLSOUND {
|
||||
class CSoundDriverXAudio2;
|
||||
|
|
|
@ -15,16 +15,10 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "listener_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include <nel/misc/debug.h>
|
||||
|
||||
// Project includes
|
||||
#include "sound_driver_xaudio2.h"
|
||||
#include "listener_xaudio2.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,16 +16,9 @@
|
|||
|
||||
#ifndef NLSOUND_LISTENER_XAUDIO2_H
|
||||
#define NLSOUND_LISTENER_XAUDIO2_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include <nel/misc/matrix.h>
|
||||
|
||||
// Project includes
|
||||
#include <nel/sound/driver/listener.h>
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CSoundDriverXAudio2;
|
||||
|
|
|
@ -15,17 +15,10 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "music_buffer.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/stream.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/path.h>
|
||||
|
||||
// Project includes
|
||||
#include "music_buffer_vorbis.h"
|
||||
#include "music_buffer.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,13 +16,6 @@
|
|||
|
||||
#ifndef NLSOUND_MUSIC_BUFFER_H
|
||||
#define NLSOUND_MUSIC_BUFFER_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
|
||||
// Project includes
|
||||
|
||||
namespace NLMISC {
|
||||
class IStream;
|
||||
|
|
|
@ -15,15 +15,9 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "music_buffer_vorbis.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/stream.h>
|
||||
#include <nel/misc/file.h>
|
||||
|
||||
// Project includes
|
||||
#include "music_buffer_vorbis.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#ifndef NLSOUND_MUSIC_BUFFER_VORBIS_H
|
||||
#define NLSOUND_MUSIC_BUFFER_VORBIS_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
|
|
|
@ -15,20 +15,11 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "music_channel_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/big_file.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/mem_stream.h>
|
||||
#include <nel/misc/stream.h>
|
||||
#include "nel/sound/driver/music_buffer.h"
|
||||
|
||||
// Project includes
|
||||
#include "sound_driver_xaudio2.h"
|
||||
#include "music_buffer.h"
|
||||
#include "music_channel_xaudio2.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,14 +16,8 @@
|
|||
|
||||
#ifndef NLSOUND_MUSIC_CHANNEL_XAUDIO2_H
|
||||
#define NLSOUND_MUSIC_CHANNEL_XAUDIO2_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include "nel/sound/driver/music_channel.h"
|
||||
|
||||
// Project includes
|
||||
#include <nel/sound/driver/music_channel.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CSoundDriverXAudio2;
|
||||
|
|
|
@ -15,26 +15,14 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "sound_driver_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
#include <cmath>
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/hierarchical_timer.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/dynloadlib.h>
|
||||
#include <nel/misc/command.h>
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "music_buffer.h" // ../
|
||||
|
||||
// Project includes
|
||||
#include "listener_xaudio2.h"
|
||||
#include "source_xaudio2.h"
|
||||
#include "music_channel_xaudio2.h"
|
||||
#include "effect_xaudio2.h"
|
||||
#include "sound_driver_xaudio2.h"
|
||||
#include "music_buffer.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,13 +16,6 @@
|
|||
|
||||
#ifndef NLSOUND_SOUND_DRIVER_XAUDIO2_H //todo: support MAKEINTRESOURCE for music files?
|
||||
#define NLSOUND_SOUND_DRIVER_XAUDIO2_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
#include <iostream>
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/time_nl.h>
|
||||
|
||||
// Project includes
|
||||
#include "source_xaudio2.h"
|
||||
|
|
|
@ -17,17 +17,6 @@
|
|||
// curve cone eax time
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
#include "source_xaudio2.h"
|
||||
|
||||
// STL includes
|
||||
#include <cfloat>
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/hierarchical_timer.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/variable.h>
|
||||
|
||||
// Project includes
|
||||
#include "sound_driver_xaudio2.h"
|
||||
|
@ -35,6 +24,7 @@
|
|||
#include "listener_xaudio2.h"
|
||||
#include "adpcm_xaudio2.h"
|
||||
#include "effect_xaudio2.h"
|
||||
#include "source_xaudio2.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
|
|
@ -16,16 +16,10 @@
|
|||
|
||||
#ifndef NLSOUND_SOURCE_XAUDIO2_H
|
||||
#define NLSOUND_SOURCE_XAUDIO2_H
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
// STL includes
|
||||
|
||||
// NeL includes
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
|
||||
// Project includes
|
||||
#include <nel/sound/driver/source.h>
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
|
||||
namespace NLSOUND {
|
||||
class CSoundDriverXAudio2;
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
|
||||
// STL includes
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
#include <cfloat>
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
// 3rd Party Includes
|
||||
#define XAUDIO2_HELPER_FUNCTIONS
|
||||
|
@ -28,19 +32,30 @@
|
|||
#include <x3daudio.h>
|
||||
|
||||
// NeL includes
|
||||
#include <nel/misc/common.h>
|
||||
#include <nel/misc/time_nl.h>
|
||||
#include <nel/misc/fast_mem.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/log.h>
|
||||
#include <nel/misc/vector.h>
|
||||
#include <nel/misc/singleton.h>
|
||||
#include <nel/misc/common.h>
|
||||
#include <nel/misc/big_file.h>
|
||||
#include <nel/misc/command.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/dynloadlib.h>
|
||||
#include <nel/misc/fast_mem.h>
|
||||
#include <nel/misc/file.h>
|
||||
#include <nel/misc/hierarchical_timer.h>
|
||||
#include <nel/misc/log.h>
|
||||
#include <nel/misc/matrix.h>
|
||||
#include <nel/misc/mem_stream.h>
|
||||
#include <nel/misc/mutex.h>
|
||||
#include <nel/misc/path.h>
|
||||
#include <nel/misc/stream.h>
|
||||
#include <nel/misc/time_nl.h>
|
||||
#include <nel/misc/variable.h>
|
||||
#include <nel/misc/vector.h>
|
||||
|
||||
#include "nel/sound/driver/sound_driver.h"
|
||||
#include "nel/sound/driver/buffer.h"
|
||||
#include "nel/sound/driver/source.h"
|
||||
#include "nel/sound/driver/listener.h"
|
||||
#include "nel/sound/driver/effect.h"
|
||||
#include <nel/sound/driver/buffer.h>
|
||||
#include <nel/sound/driver/effect.h>
|
||||
#include <nel/sound/driver/listener.h>
|
||||
#include <nel/sound/driver/sound_driver.h>
|
||||
#include <nel/sound/driver/source.h>
|
||||
|
||||
// Defines
|
||||
#define NLSOUND_XAUDIO2_NAME "NeLSound XAudio2 Driver"
|
||||
|
|
Loading…
Reference in a new issue