diff options
Diffstat (limited to 'src/audio_core/voice_context.h')
| -rw-r--r-- | src/audio_core/voice_context.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio_core/voice_context.h b/src/audio_core/voice_context.h index 59d3d7dfb..863248761 100644 --- a/src/audio_core/voice_context.h +++ b/src/audio_core/voice_context.h | |||
| @@ -118,12 +118,12 @@ public: | |||
| 118 | bool in_use{}; | 118 | bool in_use{}; |
| 119 | INSERT_PADDING_BYTES(11); | 119 | INSERT_PADDING_BYTES(11); |
| 120 | }; | 120 | }; |
| 121 | static_assert(sizeof(VoiceChannelResource::InParams) == 0x70, "InParams is an invalid size"); | 121 | static_assert(sizeof(InParams) == 0x70, "InParams is an invalid size"); |
| 122 | }; | 122 | }; |
| 123 | 123 | ||
| 124 | class ServerVoiceChannelResource { | 124 | class ServerVoiceChannelResource { |
| 125 | public: | 125 | public: |
| 126 | explicit ServerVoiceChannelResource(s32 id); | 126 | explicit ServerVoiceChannelResource(s32 id_); |
| 127 | ~ServerVoiceChannelResource(); | 127 | ~ServerVoiceChannelResource(); |
| 128 | 128 | ||
| 129 | bool InUse() const; | 129 | bool InUse() const; |
| @@ -174,7 +174,7 @@ public: | |||
| 174 | BehaviorFlags behavior_flags{}; | 174 | BehaviorFlags behavior_flags{}; |
| 175 | INSERT_PADDING_BYTES(16); | 175 | INSERT_PADDING_BYTES(16); |
| 176 | }; | 176 | }; |
| 177 | static_assert(sizeof(VoiceInfo::InParams) == 0x170, "InParams is an invalid size"); | 177 | static_assert(sizeof(InParams) == 0x170, "InParams is an invalid size"); |
| 178 | 178 | ||
| 179 | struct OutParams { | 179 | struct OutParams { |
| 180 | u64_le played_sample_count{}; | 180 | u64_le played_sample_count{}; |
| @@ -182,7 +182,7 @@ public: | |||
| 182 | u8 voice_dropped{}; | 182 | u8 voice_dropped{}; |
| 183 | INSERT_PADDING_BYTES(3); | 183 | INSERT_PADDING_BYTES(3); |
| 184 | }; | 184 | }; |
| 185 | static_assert(sizeof(VoiceInfo::OutParams) == 0x10, "OutParams is an invalid size"); | 185 | static_assert(sizeof(OutParams) == 0x10, "OutParams is an invalid size"); |
| 186 | }; | 186 | }; |
| 187 | 187 | ||
| 188 | class ServerVoiceInfo { | 188 | class ServerVoiceInfo { |
| @@ -263,7 +263,7 @@ private: | |||
| 263 | 263 | ||
| 264 | class VoiceContext { | 264 | class VoiceContext { |
| 265 | public: | 265 | public: |
| 266 | VoiceContext(std::size_t voice_count); | 266 | explicit VoiceContext(std::size_t voice_count_); |
| 267 | ~VoiceContext(); | 267 | ~VoiceContext(); |
| 268 | 268 | ||
| 269 | std::size_t GetVoiceCount() const; | 269 | std::size_t GetVoiceCount() const; |