summaryrefslogtreecommitdiffstats
path: root/src/audio_core/codec.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-21Revert "core: Fix clang build"bunnei1-3/+3
2020-10-18core: Fix clang buildLioncash1-3/+3
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 constexprLioncash1-2/+3
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 DecodeADPCMLioncash1-2/+2
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::"fearlessTobi1-10/+10
2018-08-05audio_core: Port codec code from Citra for ADPCM decoding.bunnei1-0/+77
2018-01-13Massive removal of unused modulesJames Rowe1-127/+0
2017-09-26Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16).Subv1-1/+3
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 Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-1/+1
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-10/+15
2016-09-03codec: Fix ADPCM distortion caused by incorrect nibble orderfincs1-2/+2
Closes #2049. Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
2016-03-24DSP: Implement audio codecs (PCM8, PCM16, ADPCM)MerryMage1-0/+122