aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core
AgeCommit message (Collapse)Author
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-02-12revert to std::sin and std::cosChloe Marcec
2021-02-12address issuesChloe Marcec
2021-02-12audren: Implement I3dl2ReverbChloe Marcec
Most notable fix is the voices in Fire Emblem Three Houses
2021-02-08Merge pull request #5868 from german77/HandheldFixbunnei
Prevent over scheduling audio events and add motion update unschedule event
2021-02-02Prevent over scheduling audio events and terminate properly the motion ↵german
update event
2021-02-01audren: Disable reverb for the time beingChloe Marcec
As this is causing issues in a few games, it's best to have it disabled until it's completely implemented
2021-01-24audout: FlushAudioOutBuffersChloe Marcec
Fixes Devil May Cry
2021-01-15core: Silence Wclass-memaccess warningsReinUsesLisp
This requires making several types trivial and properly initialize them whenever they are called.
2021-01-15common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINITReinUsesLisp
INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior.
2020-12-31Merge pull request #5264 from 16-Bit-Dog/patch-1bunnei
Make the coding conventions more consistant
2020-12-30Make the coding conventions more consistant16-Bit-Dog
lut_index had 0 added when nothing was supposed to be added despite this, index was not added to 0 when nothing was supposed to be added...
2020-12-28hle: service: Acquire and release a lock on requests.bunnei
- This makes it such that we can safely access service members from CoreTiming thread.
2020-12-28audio_core: stream: Ensure buffer is valid before release.bunnei
2020-12-05Update cubeb and request a persistent stream sessionVitor Kiguchi
2020-12-02Merge pull request #5000 from lioncash/audio-errorbunnei
audio_core: Make shadowing and unused parameters errors
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash
Moves the audio code closer to enabling warnings as errors in general.
2020-11-28audio_core: Remove temp_mix_bufferChloe Marcec
It's unused and doesn't need to be initialized
2020-11-17Addressed changesChloe Marcec
2020-11-17audren: Make use of nodiscard, rework downmixing, release all buffersChloe Marcec
Preliminary work for upmixing & general cleanup. Fixes basic issues in games such as Shovel Knight and slightly improves the LEGO games. Upmixing stitll needs to be implemented. Audio levels in a few games will be fixed as we now use the downmix coefficients when possible instead of supplying our own
2020-10-20core: Fix clang build pt.2Lioncash
Resolves the clang build issue in a more unintrusive way.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-13audio_core/CMakeLists: Make warnings consistent with coreLioncash
Normalizes the warnings shared between audio_core and core.
2020-09-29Merge pull request #4721 from lioncash/genfnbunnei
codec: Make lookup table static constexpr
2020-09-29Merge pull request #4722 from lioncash/castingbunnei
cubeb_sink: Use static_cast instead of reinterpret_cast in DataCallback()
2020-09-27Merge pull request #4719 from lioncash/audio-warnbunnei
audio_core: Resolve sign conversion warnings
2020-09-25Merge pull request #4720 from lioncash/headerbunnei
audio_core: Remove unnecessary inclusions
2020-09-25command_generator: Make lookup table static constexprLioncash
Allows compilers to elide needing to push these values on the stack every time the function is called.
2020-09-25behavior_info: Fix typo Renerer -> RendererLioncash
2020-09-25cubeb_sink: Use static_cast instead of reinterpret_cast in DataCallback()Lioncash
Conversions from void* to the proper data type are well-defined and supported by static_cast. We don't need to use reinterpret_cast here.
2020-09-25codec: Make lookup table static constexprLioncash
Allows compilers to elide needing to push these values on the stack every time the function is called.
2020-09-25audio_core: Remove unnecessary inclusionsLioncash
Same behavior, but removes header dependencies where they don't need to be.
2020-09-25audio_core: Resolve sign conversion warningsLioncash
While were at it, we can also enable sign conversion warnings and other common warnings as errors to prevent these from creeping back into the codebase.
2020-09-25effect_context: Make use of explicit where applicableLioncash
While we're at it we can make the destructor of the base class virtual to ensure that any polymorphism issues never occur.
2020-09-17audio_core/command_generator: Use const references where applicableLioncash
In a lot of cases, we can make use of const references rather than non-const references. While we're in the area we can silence some truncation and sign conversion warnings.
2020-09-17audio_core/command_generator: Avoid an unnecessary copy in ↵Lioncash
GenerateFinalMixCommand()
2020-09-11Merge pull request #4310 from ogniK5377/apollo-1-prodbunnei
audio_core: Apollo Part 1, AudioRenderer refactor
2020-08-17Preliminary effectsDavid Marcec
2020-08-14Disable biquad filterDavid Marcec
2020-08-14Reworked ADPCM decoder to allow better streamingDavid Marcec
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-01mix buffer depoppingDavid Marcec
2020-07-30adpcm streamingDavid Marcec
2020-07-27core_timing: Make use of uintptr_t to represent user_dataLioncash
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
2020-07-25Fix perf regressionDavid Marcec
2020-07-25Fix stream channel count when outputting to stereoDavid Marcec
2020-07-25Address issuesDavid Marcec
2020-07-25Queue extra mix bufferDavid Marcec
2020-07-25Disable time stretcher for time beingDavid Marcec