Clean up some unnecessary includes
This commit is contained in:
+4
-1
@@ -877,6 +877,9 @@ ALeffect DefaultEffect;
|
||||
*/
|
||||
bool SuspendDefers{true};
|
||||
|
||||
/* Initial seed for dithering. */
|
||||
constexpr ALuint DitherRNGSeed{22222u};
|
||||
|
||||
|
||||
/************************************************
|
||||
* ALC information
|
||||
@@ -1861,7 +1864,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
|
||||
device->FixedLatency = nanoseconds::zero();
|
||||
|
||||
device->DitherDepth = 0.0f;
|
||||
device->DitherSeed = DITHER_RNG_SEED;
|
||||
device->DitherSeed = DitherRNGSeed;
|
||||
|
||||
/*************************************************************************
|
||||
* Update device format request if HRTF is requested
|
||||
|
||||
@@ -2,39 +2,23 @@
|
||||
#define ALU_H
|
||||
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
|
||||
#include "AL/al.h"
|
||||
#include "AL/alc.h"
|
||||
#include "AL/alext.h"
|
||||
|
||||
#include "al/buffer.h"
|
||||
#include "alcmain.h"
|
||||
#include "almalloc.h"
|
||||
#include "alspan.h"
|
||||
#include "ambidefs.h"
|
||||
#include "devformat.h"
|
||||
#include "filters/biquad.h"
|
||||
#include "filters/nfc.h"
|
||||
#include "filters/splitter.h"
|
||||
#include "hrtf.h"
|
||||
#include "logging.h"
|
||||
|
||||
struct ALbufferlistitem;
|
||||
struct ALeffectslot;
|
||||
|
||||
enum class DistanceModel;
|
||||
|
||||
|
||||
#define MAX_PITCH 255
|
||||
#define MAX_SENDS 16
|
||||
|
||||
|
||||
#define DITHER_RNG_SEED 22222
|
||||
|
||||
|
||||
using MixerFunc = void(*)(const al::span<const float> InSamples,
|
||||
const al::span<FloatBufferLine> OutBuffer, float *CurrentGains, const float *TargetGains,
|
||||
const size_t Counter, const size_t OutPos);
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "AL/al.h"
|
||||
#include "AL/alext.h"
|
||||
|
||||
#include "al/buffer.h"
|
||||
#include "alspan.h"
|
||||
#include "alu.h"
|
||||
#include "filters/biquad.h"
|
||||
@@ -11,6 +12,8 @@
|
||||
#include "filters/splitter.h"
|
||||
#include "hrtf.h"
|
||||
|
||||
enum class DistanceModel;
|
||||
|
||||
|
||||
enum SpatializeMode {
|
||||
SpatializeOff = AL_FALSE,
|
||||
|
||||
Reference in New Issue
Block a user