diff options
| author | Mai <mathew1800@gmail.com> | 2022-06-14 08:34:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 08:34:16 -0400 |
| commit | ce98a3e5d738610051a2683d9d95a943a9e99c04 (patch) | |
| tree | 135226fe24596286c54bf9c5c4a12868c3c55e90 /src/audio_core/command_generator.cpp | |
| parent | c2c39c564a3204d2e8c0debb6bc071d95e1f2172 (diff) | |
| parent | f91e2f27427ac7ecf2472c7a587958980ab93443 (diff) | |
Merge pull request #8439 from liamwhite/monkey-compiler
general: fix compilation on GCC 12
Diffstat (limited to 'src/audio_core/command_generator.cpp')
| -rw-r--r-- | src/audio_core/command_generator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/command_generator.cpp b/src/audio_core/command_generator.cpp index ff20ed00f1..f975208206 100644 --- a/src/audio_core/command_generator.cpp +++ b/src/audio_core/command_generator.cpp @@ -429,7 +429,7 @@ void CommandGenerator::GenerateDataSourceCommand(ServerVoiceInfo& voice_info, Vo in_params.node_id); break; default: - UNREACHABLE_MSG("Unimplemented sample format={}", in_params.sample_format); + ASSERT_MSG(false, "Unimplemented sample format={}", in_params.sample_format); } } } @@ -1312,7 +1312,7 @@ void CommandGenerator::DecodeFromWaveBuffers(ServerVoiceInfo& voice_info, std::s samples_to_read - samples_read, channel, temp_mix_offset); break; default: - UNREACHABLE_MSG("Unimplemented sample format={}", in_params.sample_format); + ASSERT_MSG(false, "Unimplemented sample format={}", in_params.sample_format); } temp_mix_offset += samples_decoded; |
