aboutsummaryrefslogtreecommitdiffstats
path: root/core/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/context.h')
-rw-r--r--core/context.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/core/context.h b/core/context.h
index 4febd38d..629e67a5 100644
--- a/core/context.h
+++ b/core/context.h
@@ -7,16 +7,15 @@
#include <cstddef>
#include <memory>
#include <thread>
+#include <vector>
#include "almalloc.h"
#include "alspan.h"
#include "async_event.h"
#include "atomic.h"
-#include "bufferline.h"
#include "opthelpers.h"
#include "threads.h"
#include "vecmat.h"
-#include "vector.h"
struct DeviceBase;
struct EffectSlot;
@@ -26,8 +25,6 @@ struct Voice;
struct VoiceChange;
struct VoicePropsItem;
-using uint = unsigned int;
-
constexpr float SpeedOfSoundMetersPerSec{343.3f};
@@ -147,20 +144,20 @@ struct ContextBase {
* in clusters that are stored in a vector for easy automatic cleanup.
*/
using VoiceChangeCluster = std::unique_ptr<VoiceChange[]>;
- al::vector<VoiceChangeCluster> mVoiceChangeClusters;
+ std::vector<VoiceChangeCluster> mVoiceChangeClusters;
using VoiceCluster = std::unique_ptr<Voice[]>;
- al::vector<VoiceCluster> mVoiceClusters;
+ std::vector<VoiceCluster> mVoiceClusters;
using VoicePropsCluster = std::unique_ptr<VoicePropsItem[]>;
- al::vector<VoicePropsCluster> mVoicePropClusters;
+ std::vector<VoicePropsCluster> mVoicePropClusters;
static constexpr size_t EffectSlotClusterSize{4};
EffectSlot *getEffectSlot();
using EffectSlotCluster = std::unique_ptr<EffectSlot[]>;
- al::vector<EffectSlotCluster> mEffectSlotClusters;
+ std::vector<EffectSlotCluster> mEffectSlotClusters;
ContextBase(DeviceBase *device);