summaryrefslogtreecommitdiffstats
path: root/src/audio_core/codec.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "core: Fix clang build"bunnei2020-10-211-3/+3
|
* core: Fix clang buildLioncash2020-10-181-3/+3
| | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
* codec: Make lookup table static constexprLioncash2020-09-251-2/+3
| | | | | Allows compilers to elide needing to push these values on the stack every time the function is called.
* audio_core/codec: Resolve truncation warnings within DecodeADPCMLioncash2019-02-251-2/+2
| | | | | The assignments here were performing an implicit truncation from int to s16. Make it explicit that this is desired behavior.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-10/+10
|
* audio_core: Port codec code from Citra for ADPCM decoding.bunnei2018-08-051-0/+77
|
* Massive removal of unused modulesJames Rowe2018-01-131-127/+0
|
* Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16).Subv2017-09-261-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)
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-211-1/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-3/+1
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-1/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-10/+15
|
* codec: Fix ADPCM distortion caused by incorrect nibble orderfincs2016-09-031-2/+2
| | | | | | Closes #2049. Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
* DSP: Implement audio codecs (PCM8, PCM16, ADPCM)MerryMage2016-03-241-0/+122