summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
AgeCommit message (Collapse)Author
2023-06-30Merge pull request #11955 from TellowKrinkle/CMakeDependenciesAdmiral H. Curtiss
CMake: Allow ignoring system packages
2023-06-18Replace std::ostringstream usage with fmt::formatget
2023-06-15CMake: Use targets for all optionally-external dependenciesTellowKrinkle
2023-03-22Common: Move FixedSizeQueue into Common namespaceLioncash
Gets this out of the global namespace.
2023-03-13Skylander Portal: Play Trap Team AudioJoshua de Reeper
Asserts and length handling
2023-02-04WorkQueueThread: provide name and function at same timeScott Mansell
2023-01-30Merge pull request #10947 from Zopolis4/opensleuthAdmiral H. Curtiss
Restrict OpenSLES to Android via CMake
2023-01-23windows: replace comdef dependency with winrtShawn Hoffman
2023-01-06CoreTiming: Throttle Before Every Event Using ChronoSam Belliveau
2022-12-23New FrameTime/VBlank Analyzer + GraphSam Belliveau
2022-11-27Correctly call CoUninitialize() on Cubeb helper class destruction.Admiral H. Curtiss
2022-11-26Core: Use extra thread for Cubeb on Windows to not disturb the CoInitialize ↵Admiral H. Curtiss
state of whatever thread happens to call a Cubeb function.
2022-11-26Core: Abide by COM MTA requirement for cubeb on Windows. Partially based on ↵Admiral H. Curtiss
https://github.com/dolphin-emu/dolphin/pull/8920#discussion_r459746604 Co-authored-by: Michael M <mchtly@gmail.com>
2022-11-26Externals: Update cubeb to ↵Admiral H. Curtiss
mozilla/cubeb@773f16b7ea308392c05be3e290163d1f636e6024 and make it a submodule. CMakeLists.txt has been extracted and modified a bit to work with Dolphin's typical build settings.
2022-11-06AudioCommon: Pass Core::System to AudioCommon functions.Admiral H. Curtiss
2022-10-22WaveFile: Fix size checkPokechu22
`count` is the number of stereo samples to write (where each stereo sample is two shorts), while `BUFFER_SIZE` is the size of the buffer in shorts. So `count` needs to be multiplied by `2`, not `BUFFER_SIZE`. Also, when this check was failed, the previous code just clobbered whatever was past the end of the buffer after logging the warning, which corrupted `basename`, eventually resulting in Dolphin crashing. This affected Datel's Wii-compatible Action Replay, which uses a block size of 2298, or 18384 stereo samples, which is 36768 shorts, which is bigger than the buffer size of 32768. (However, the previous commit means that only one block is transfered at a time, eliminating this issue; fixing the bounds check is just a general safety thing instead of an actual bugfix now.)
2022-09-08Mixer: Add assertions regarding num_samples versus buffer lengthPokechu22
2022-09-08Mixer: Use smaller array for PushWiimoteSpeakerSamplesPokechu22
2022-08-31AudioCommon: Move sound stream variables to Core::System.Admiral H. Curtiss
2022-08-08Restrict OpenSLES to Android via CMakeZopolis4
2022-07-25StripSpaces: only strip spacesShawn Hoffman
StripWhitespace maintains old behavior
2022-07-18cubeb: fix logged source file pathsShawn Hoffman
2022-07-03Do not directly store input sample rate, rather just store a divisor for ↵CasualPokePlayer
that sample rate, with it using a fixed dividend of 54000000 * 2. This should reduce (but not completely eliminate) gradual audio desyncs in dumps. This also allows for accurate sample rates for the GameCube. Completely eliminating gradual audio desyncs will require resampling to an integer sample rate, as nothing seems to support a non-integer sample rate.
2022-06-10have audio dumps apply volume (fixes cases of audio dumps being "too loud" ↵CasualPokePlayer
and in game audio controls having no effect)
2022-05-22cmake: Don't use PCH with Qt6.Admiral H. Curtiss
2022-01-29IOFile: Make origin parameter to Seek() an enum class.Admiral H. Curtiss
2022-01-09Use HRWrap in remaining locationsPokechu22
Note that D3DCommon can't use DX11HRWrap or DX12HRWrap since it's shared between them.
2022-01-06Core/AudioCommon: Add config caching to Mixer.Admiral H. Curtiss
2022-01-06Config: Port TimingVariance setting to new config system.Admiral H. Curtiss
2022-01-06Config: Port emulation speed setting to new config system.Admiral H. Curtiss
2021-12-10Treewide: Adjust order of includesPokechu22
2021-11-07Merge pull request #10169 from leoetlino/fmt-localtimeMai M
Use fmt::localtime instead of thread-unsafe std::localtime
2021-10-24Convert LOG_TYPE and LOG_LEVELS to enum classPokechu22
2021-10-16Merge pull request #10144 from malleoz/dsp-onionLéo Lam
Port Main.DSP to MainSettings
2021-10-15Port Main.DSP to MainSettingssowens99
While trying to work on adding audiodump support for CLI, I was alerted that it was important to first try moving the DSP configs to the new config before continuing, as that makes it substantially easier to write clean code to add such a feature. This commit aims to allow for Dolphin to only rely on the new config for DSP-related settings.
2021-10-15Use fmt::localtime instead of thread-unsafe std::localtimeLéo Lam
fmt::localtime is also less awkward to use compared to std::localtime.
2021-10-15Merge pull request #10149 from malleoz/audiodump-add-timecodeLéo Lam
Add Game ID, timecode to dspdump and dtkdump filenames
2021-10-13Fix all uninitialized variable warnings (C26495)Pokechu22
2021-10-03Add timecode to dspdump and dtkdumpsowens99
Match the same formatting present in framedump filenames.
2021-08-08AudioCommon: rename isValid() to IsValid()Tillmann Karras
2021-08-08AudioCommon: make SoundLoop() non-virtual and privateTillmann Karras
2021-08-08AudioCommon: get rid of Update(), it never does anythingTillmann Karras
2021-08-08AudioCommon: fix "Error stopping stream" when emulation is pausedTillmann Karras
2021-07-13SI: Implement GBAEmu deviceBonta
2021-07-13Mixer: Support GBA samples mixingBonta
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-04-02Replace uses of cassert with Common/Assert.hPokechu22
2021-03-24AudioCommon: Initialize before HWBonta-kun
2021-03-11Merge pull request #8316 from CookiePLMonster/wasapi-code-improvementsJosJuice
WASAPI code improvements
2021-01-27msbuild: bundle all dolphin "core" code into single libraryShawn Hoffman