|
|
@ -20,6 +20,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
// STL includes
|
|
|
|
// STL includes
|
|
|
|
#include <iostream>
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
#include <cfloat>
|
|
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
|
|
|
|
|
|
// 3rd Party Includes
|
|
|
|
// 3rd Party Includes
|
|
|
|
#define XAUDIO2_HELPER_FUNCTIONS
|
|
|
|
#define XAUDIO2_HELPER_FUNCTIONS
|
|
|
@ -28,19 +32,30 @@
|
|
|
|
#include <x3daudio.h>
|
|
|
|
#include <x3daudio.h>
|
|
|
|
|
|
|
|
|
|
|
|
// NeL includes
|
|
|
|
// NeL includes
|
|
|
|
|
|
|
|
#include <nel/misc/singleton.h>
|
|
|
|
#include <nel/misc/common.h>
|
|
|
|
#include <nel/misc/common.h>
|
|
|
|
#include <nel/misc/time_nl.h>
|
|
|
|
#include <nel/misc/big_file.h>
|
|
|
|
#include <nel/misc/fast_mem.h>
|
|
|
|
#include <nel/misc/command.h>
|
|
|
|
#include <nel/misc/debug.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/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/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/buffer.h"
|
|
|
|
#include <nel/sound/driver/effect.h>
|
|
|
|
#include "nel/sound/driver/source.h"
|
|
|
|
#include <nel/sound/driver/listener.h>
|
|
|
|
#include "nel/sound/driver/listener.h"
|
|
|
|
#include <nel/sound/driver/sound_driver.h>
|
|
|
|
#include "nel/sound/driver/effect.h"
|
|
|
|
#include <nel/sound/driver/source.h>
|
|
|
|
|
|
|
|
|
|
|
|
// Defines
|
|
|
|
// Defines
|
|
|
|
#define NLSOUND_XAUDIO2_NAME "NeLSound XAudio2 Driver"
|
|
|
|
#define NLSOUND_XAUDIO2_NAME "NeLSound XAudio2 Driver"
|
|
|
|