aboutsummaryrefslogtreecommitdiffstats
path: root/core/bufferline.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-28 03:38:20 -0800
committerChris Robinson <[email protected]>2020-11-28 03:38:20 -0800
commit8750810f5cfceeffd5acf2f21e779d470d0dc88b (patch)
tree447b24c8d1b3ab926f2aa2ae40617938df1e9bb1 /core/bufferline.h
parenteb9b9fb4e59cadc308b8ebcdf3da59a961382224 (diff)
Change a couple macros into constexpr variables
Diffstat (limited to 'core/bufferline.h')
-rw-r--r--core/bufferline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bufferline.h b/core/bufferline.h
index 07983140..503e208d 100644
--- a/core/bufferline.h
+++ b/core/bufferline.h
@@ -7,8 +7,8 @@
* more memory and are harder on cache, while smaller values may need more
* iterations for mixing.
*/
-#define BUFFERSIZE 1024
+constexpr int BufferLineSize{1024};
-using FloatBufferLine = std::array<float,BUFFERSIZE>;
+using FloatBufferLine = std::array<float,BufferLineSize>;
#endif /* CORE_BUFFERLINE_H */