mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2025-12-01 10:47:25 +00:00
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) |
||
|---|---|---|
| .. | ||
| common.h | ||
| dsp.cpp | ||
| dsp.h | ||
| filter.cpp | ||
| filter.h | ||
| mixers.cpp | ||
| mixers.h | ||
| pipe.cpp | ||
| pipe.h | ||
| source.cpp | ||
| source.h | ||