summaryrefslogtreecommitdiffstats
path: root/src/audio_core/codec.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-25codec: Make lookup table static constexprLioncash1-1/+1
Allows compilers to elide needing to push these values on the stack every time the function is called.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-08-05audio_core: Port codec code from Citra for ADPCM decoding.bunnei1-0/+44
2018-01-13Massive removal of unused modulesJames Rowe1-51/+0
2017-09-26Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16).Subv1-2/+2
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-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-1/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-4/+6
2016-03-24DSP: Implement audio codecs (PCM8, PCM16, ADPCM)MerryMage1-0/+50