aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/command
Commit message (Collapse)AuthorAgeFilesLines
* [audio_core] Fix jamboree crash due to OOB access (#4252)lizzie2026-08-052-105/+74
| | | | | | | | | | | | | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- PLEASE test diablo 3 or ANY game that's sensitive to audio changes Just TEST that there's NO regressions on the audio front this fixes a rare Jamboree crash with audio DSP Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4252 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-123-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | system is created (#3688) - our logging code was bigger than spdlog itself, why???? just keep it simple - fix issues when logging before logging system is even started - removes the "initialized logging twice" issue - removes uneeded indirection in file logging - uses direct formatting instead of jumping hoopla-around the fmt::format() ressult - code duplication and dead code removal as usual I did explore dup2() but I think it's not worth the hassle I did try `fwopen()` but it's better if things are just kept as-is. there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [audio_core] Better biquad filter logic (#3235)MaranBr2025-12-312-62/+38
| | | | | | | | | This removes all redundant code and improves the logic of the biquad filter. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3235 Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
* [audio_core] Fix broken biquad effect (#3225)MaranBr2025-12-292-24/+22
| | | | | | | | | | | | This fixes the broken biquad effect. Thanks to Forrest Mark X for showing us where the problem was occurring in the code. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3225 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: DraVee <dravee@eden-emu.dev> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
* [audio] correct biquad filter v2 parameters (#3142)Maufeat2025-12-132-18/+92
| | | | | | | | | | | We had the same struct for v1 and v2 - this was tested only with MP4, should output correct sounds now and boot it. Co-authored-by: MaranBr <maranbr@outlook.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3142 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
* [audio_core] Fix audio reverb effect acording to specs (#2976)MaranBr2025-11-081-44/+79
| | | | | | | | | | This fixes the audio reverb issue acording to specs. Known for affecting The Legend of Zelda: Echoes of Wisdom. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2976 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
* [common] replace Common::BitCast with libc++ provided one (#2774)lizzie2025-10-221-13/+14
| | | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2774 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [audio_core/hid] Audio REV12+15 support + HID fixes (#2719)unknown2025-10-125-4/+98
| | | | | | | | | | | | | | | | This fixes newer updates / games. Implements partial audio rev15, rev13, rev12 and HID issues on SDK20+ games. Credits to LotP (Ryubing) and Zephyron (Citron) for their research and implementation. Co-authored-by: Zephyron <zephyron@citron-emu.org> Co-authored-by: Shinmegumi <shinmegumi@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2719 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: unknown <sahyno1996@gmail.com> Co-committed-by: unknown <sahyno1996@gmail.com>
* [audio_core] Fix audio reverb effect (#2646)MaranBr2025-10-021-2/+0
| | | | | | | | This fixes the audio reverb effect that was causing loud noise in some games and on some platforms. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2646 Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
* [common] remove ranges polyfill (#2546)lizzie2025-09-242-2/+2
| | | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2546 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [meta] fix license headers (#2547)lizzie2025-09-2113-0/+39
| | | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-0913-37/+37
| | | | | | | | | | | | | | Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64. Compiling on clang is *dramatically* faster so this should be useful for CI. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: crueter <crueter@crueter.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* Revert "Add more audio logging to pinpoint issues better"edendev2025-04-301-11/+3
| | | | This reverts commit b75251742c1ab3776f8a0e1a813a39a40effd69f.
* Add more audio logging to pinpoint issues betteredendev2025-04-301-3/+11
|
* Core: Clang format and other small issues.Fernando Sahmkow2024-01-181-1/+1
|
* SMMU: Initial adaptation to video_core.Fernando Sahmkow2024-01-181-0/+1
|
* Fix more typosViktor Szépe2024-01-151-6/+6
|
* ci: fix new codespell errorsLiam2023-10-021-1/+1
|
* Do not consider voice commands in time estimation, fix adpcm estimateKelebek12023-09-181-2/+2
|
* Fix data source version 1 command loopingKelebek12023-09-084-52/+72
|
* Rework ADSP into a wrapper for appsKelebek12023-09-0464-385/+427
|
* Use spans over guest memory where possible instead of copying data.Kelebek12023-07-022-74/+29
|
* Remove memory allocations in some hot pathsKelebek12023-06-228-42/+40
|
* core_timing: Use CNTPCT as the guest CPU tickMorph2023-06-071-9/+6
| | | | | Previously, we were mixing the raw CPU frequency and CNTFRQ. The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
* Fix a bug with the Reverb command in reading from the pre_delay line.Kelebek12023-03-021-1/+2
|
* Merge pull request #9769 from Kelebek1/audio_oobbunnei2023-02-162-40/+92
|\ | | | | [audio_core] Fix depop prepare
| * Add fallback for memory read/write in case the address goes over a 4K pageKelebek12023-02-111-12/+64
| |
| * Fix depop prepare receiving bad mix infos and writing out of bounds, and ↵Kelebek12023-02-112-40/+40
| | | | | | | | update aux a bit, may help
* | remove static from pointer sized or smaller types for aesthetics, change ↵arades792023-02-148-28/+28
| | | | | | | | | | | | constexpr static to static constexpr for consistency Signed-off-by: arades79 <scravers@protonmail.com>
* | add static lifetime to constexpr values to force compile time evaluation ↵arades792023-02-148-28/+28
| | | | | | | | | | | | where possible Signed-off-by: arades79 <scravers@protonmail.com>
* | Fix biquad filter command's state buffer offsetKelebek12023-02-131-2/+2
| |
* | biquad_filter: Clamp f64 in ApplyBiquadFilterFloatMerry2023-02-101-3/+3
| |
* | biquad_filter: Fix rounding in ApplyBiquadFilterIntMerry2023-02-101-20/+12
|/
* upsample: Fix coefficient formatMerry2023-01-141-26/+26
|
* audio_core: Fix off-by-one error in upsamplerMerry2023-01-141-33/+12
|
* Merge pull request #9289 from liamwhite/fruit-companyliamwhite2022-12-032-0/+2
|\ | | | | general: fix compile for Apple Clang
| * general: fix compile for Apple ClangLiam2022-11-222-0/+2
| |
* | Use the maximum input index for samples buffer span size, not just the input ↵Kelebek12022-11-221-6/+8
|/ | | | count
* general: Resolve -Wclass-memaccessMorph2022-10-222-2/+2
|
* Merge pull request #8901 from lioncash/docsliamwhite2022-09-155-49/+39
|\ | | | | audio_core: Amend documentation comment tags
| * audio_core: Amend documentation tagsLioncash2022-09-155-49/+39
| | | | | | | | | | Resolves a wackload of -Wdocumentation warnings due to mismatching tags and whatnot.
* | compressor: Simplify memset in InitializeCompressorEffectLioncash2022-09-131-1/+1
| | | | | | | | Provides equivalent behavior while being significantly smaller.
* | compressor: Mark params parameters as constLioncash2022-09-131-3/+3
| | | | | | | | These functions don't modify the parameters.
* | compressor: Remove unneeded casts in ApplyCompressorEffectLioncash2022-09-131-2/+1
|/ | | | | Same behavior, but also silences a -Wcast-qual warning, since the second cast casts away const.
* Rework audio output, connecting AudioOut into coretiming to fix desync ↵Kelebek12022-09-021-0/+4
| | | | during heavy loads.
* Avoid depop out of boundsKelebek12022-07-272-2/+2
|
* Project AndioKelebek12022-07-2265-0/+12755