mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-16 20:31:29 +00:00
Merge pull request #35 from lioncash/audio
IAudioVoice: Make ChannelMap's array a std::array
This commit is contained in:
commit
6fc01ba50b
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
@ -24,7 +25,7 @@ enum class AudioChannel {
|
||||
|
||||
struct ChannelMap {
|
||||
unsigned m_channelCount = 0;
|
||||
AudioChannel m_channels[8] = {};
|
||||
std::array<AudioChannel, 8> m_channels{};
|
||||
};
|
||||
|
||||
static inline unsigned ChannelCount(AudioChannelSet layout) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user