From 606839dd17a960ed13ecdaf202e37ba2c155044a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 24 Aug 2019 23:16:54 -0400 Subject: [PATCH] IAudioVoice: Make ChannelMap's array a std::array Same thing, but more strongly typed. --- include/boo/audiodev/IAudioVoice.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boo/audiodev/IAudioVoice.hpp b/include/boo/audiodev/IAudioVoice.hpp index 1c0db37..4d37c65 100644 --- a/include/boo/audiodev/IAudioVoice.hpp +++ b/include/boo/audiodev/IAudioVoice.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include #include #include @@ -24,7 +25,7 @@ enum class AudioChannel { struct ChannelMap { unsigned m_channelCount = 0; - AudioChannel m_channels[8] = {}; + std::array m_channels{}; }; static inline unsigned ChannelCount(AudioChannelSet layout) {