diff --git a/app/src/main/cpp/skyline/audio/downmixer.h b/app/src/main/cpp/skyline/audio/downmixer.h index ab09ffd3..8cf6b338 100644 --- a/app/src/main/cpp/skyline/audio/downmixer.h +++ b/app/src/main/cpp/skyline/audio/downmixer.h @@ -30,7 +30,7 @@ namespace skyline::audio { /** * @brief Downmixes a buffer of 5.1 surround audio to stereo */ - std::vector DownMix(span surroundSamples) { + inline std::vector DownMix(span surroundSamples) { constexpr i16 FixedPointMultiplier{1000}; //!< Avoids using floating point maths constexpr i16 Attenuation3Db{707}; //! 10^(-3/20) constexpr i16 Attenuation6Db{501}; //! 10^(-6/20) diff --git a/app/src/main/cpp/skyline/services/audio/IAudioRenderer/voice.cpp b/app/src/main/cpp/skyline/services/audio/IAudioRenderer/voice.cpp index a4431067..143fb9d3 100644 --- a/app/src/main/cpp/skyline/services/audio/IAudioRenderer/voice.cpp +++ b/app/src/main/cpp/skyline/services/audio/IAudioRenderer/voice.cpp @@ -2,6 +2,7 @@ // Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/) #include +#include