aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/codec.cpp
AgeCommit message (Collapse)Author
2022-07-22Project AndioKelebek1
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-09-25codec: Make lookup table static constexprLioncash
Allows compilers to elide needing to push these values on the stack every time the function is called.
2019-02-25audio_core/codec: Resolve truncation warnings within DecodeADPCMLioncash
The assignments here were performing an implicit truncation from int to s16. Make it explicit that this is desired behavior.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-08-04audio_core: Port codec code from Citra for ADPCM decoding.bunnei
2018-01-12Massive removal of unused modulesJames Rowe
2017-09-25Audio: Use std::deque instead of std::vector for the audio buffer type ↵Subv
(StereoBuffer16). The current code inserts and deletes elements from the beginning of the audio buffer, which is very inefficient in an std::vector. Profiling was done using VisualStudio2017's Performance Analyzer in Super Mario 3D Land. Before this change: AudioInterp::Linear had 14.14% of the runtime (inclusive) and most of that time was spent in std::vector's insert implementation. After this change: AudioInterp::Linear has 0.36% of the runtime (inclusive)
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-09-03codec: Fix ADPCM distortion caused by incorrect nibble orderfincs
Closes #2049. Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
2016-03-24DSP: Implement audio codecs (PCM8, PCM16, ADPCM)MerryMage