aboutsummaryrefslogtreecommitdiffstats
path: root/core/buffer_storage.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-11-28 12:51:46 +0100
committerSven Gothel <[email protected]>2023-11-28 12:51:46 +0100
commit1aaf4f070011490bcece50394b9b32dfa593fd9e (patch)
tree17d68284e401a35eea3d3a574d986d446a60763a /core/buffer_storage.h
parent6e7cee4fa9a8af03f28ca26cd89f8357390dfc90 (diff)
parent571b546f35eead77ce109f8d4dd6c3de3199d573 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'core/buffer_storage.h')
-rw-r--r--core/buffer_storage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/buffer_storage.h b/core/buffer_storage.h
index 282d5b53..3b581b5e 100644
--- a/core/buffer_storage.h
+++ b/core/buffer_storage.h
@@ -2,8 +2,8 @@
#define CORE_BUFFER_STORAGE_H
#include <atomic>
+#include <cstddef>
-#include "albyte.h"
#include "alnumeric.h"
#include "alspan.h"
#include "ambidefs.h"
@@ -15,6 +15,7 @@ using uint = unsigned int;
enum FmtType : unsigned char {
FmtUByte,
FmtShort,
+ FmtInt,
FmtFloat,
FmtDouble,
FmtMulaw,
@@ -85,7 +86,7 @@ struct BufferStorage {
CallbackType mCallback{nullptr};
void *mUserData{nullptr};
- al::span<al::byte> mData;
+ al::span<std::byte> mData;
uint mSampleRate{0u};
FmtChannels mChannels{FmtMono};