audio_core/CMakeLists: Make warnings consistent with core

Normalizes the warnings shared between audio_core and core.
This commit is contained in:
Lioncash 2020-10-13 16:00:33 -04:00
parent 1f39359b71
commit 8452ec7d7b
6 changed files with 17 additions and 8 deletions

View file

@ -93,8 +93,10 @@ public:
constexpr s32 clev{707}; // center mixing level coefficient
constexpr s32 slev{707}; // surround mixing level coefficient
buf.push_back(left + (clev * center / 1000) + (slev * surround_left / 1000));
buf.push_back(right + (clev * center / 1000) + (slev * surround_right / 1000));
buf.push_back(static_cast<s16>(left + (clev * center / 1000) +
(slev * surround_left / 1000)));
buf.push_back(static_cast<s16>(right + (clev * center / 1000) +
(slev * surround_right / 1000)));
}
queue.Push(buf);
return;