Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use spans over guest memory where possible instead of copying data. | Kelebek1 | 2023-07-03 | 2 | -74/+29 |
| | |||||
* | Remove memory allocations in some hot paths | Kelebek1 | 2023-06-22 | 12 | -48/+47 |
| | |||||
* | core_timing: Use CNTPCT as the guest CPU tick | Morph | 2023-06-08 | 4 | -14/+8 |
| | | | | | 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. | ||||
* | audio_renderer: resolve adsp thread deadlock shutdown | Liam | 2023-06-04 | 2 | -6/+6 |
| | |||||
* | Smooth out the DSP callback by adding a 5ms wait time limit | Kelebek1 | 2023-05-18 | 3 | -14/+10 |
| | |||||
* | Wait for the terminate event before destroying a system instance | Kelebek1 | 2023-05-01 | 1 | -4/+1 |
| | |||||
* | Merge pull request #9969 from bylaws/master | bunnei | 2023-04-01 | 4 | -25/+4 |
|\ | | | | | Audio synchronisation improvements | ||||
| * | Run clang-format | Billy Laws | 2023-03-27 | 1 | -1/+1 |
| | | |||||
| * | audio: Wait for samples on the emulated DSP side to avoid desyncs | Billy Laws | 2023-03-27 | 4 | -24/+4 |
| | | | | | | | | Waiting on the host side is inaccurate and leads to desyncs in the event of the sink missing a deadline that require stalls to fix. By waiting for the sink to have space before even starting rendering such desyncs can be avoided. | ||||
| * | audio: Interpolate system manager sample count using host sink sample info | Billy Laws | 2023-03-26 | 1 | -1/+0 |
| | | | | | | | | This avoids the need to stall if the host sink sporadically misses the deadline, in such a case the previous implementation would report them samples as being played on-time, causing the guest to send more samples and leading to a gradual buildup. | ||||
* | | memory: rename global memory references to application memory | Liam | 2023-03-24 | 3 | -4/+3 |
|/ | |||||
* | general: fix spelling mistakes | Liam | 2023-03-12 | 14 | -25/+25 |
| | |||||
* | Merge pull request #9917 from Morph1984/the-real-time | liamwhite | 2023-03-10 | 1 | -1/+1 |
|\ | | | | | native_clock: Re-adjust the RDTSC frequency to its real frequency | ||||
| * | core: Promote CPU/GPU threads to time critical | Morph | 2023-03-08 | 1 | -1/+1 |
| | | | | | | | | And also demote Audren and CoreTiming to High thread priority. | ||||
* | | hle: rename legacy errors to Results | Liam | 2023-03-07 | 5 | -50/+50 |
|/ | |||||
* | Fix a bug with the Reverb command in reading from the pre_delay line. | Kelebek1 | 2023-03-02 | 3 | -6/+8 |
| | |||||
* | Merge pull request #9769 from Kelebek1/audio_oob | bunnei | 2023-02-16 | 2 | -40/+92 |
|\ | | | | | [audio_core] Fix depop prepare | ||||
| * | Add fallback for memory read/write in case the address goes over a 4K page | Kelebek1 | 2023-02-11 | 1 | -12/+64 |
| | | |||||
| * | Fix depop prepare receiving bad mix infos and writing out of bounds, and update aux a bit, may help | Kelebek1 | 2023-02-11 | 2 | -40/+40 |
| | | |||||
* | | Merge pull request #9796 from liamwhite/current | liamwhite | 2023-02-15 | 1 | -1/+1 |
|\ \ | | | | | | | general: rename CurrentProcess to ApplicationProcess | ||||
| * | | general: rename CurrentProcess to ApplicationProcess | Liam | 2023-02-14 | 1 | -1/+1 |
| | | | |||||
* | | | remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency | arades79 | 2023-02-14 | 11 | -33/+33 |
| | | | | | | | | | | | | Signed-off-by: arades79 <scravers@protonmail.com> | ||||
* | | | add static lifetime to constexpr values to force compile time evaluation where possible | arades79 | 2023-02-14 | 11 | -33/+33 |
| | | | | | | | | | | | | Signed-off-by: arades79 <scravers@protonmail.com> | ||||
* | | | Fix biquad filter command's state buffer offset | Kelebek1 | 2023-02-13 | 1 | -2/+2 |
|/ / | |||||
* | | biquad_filter: Clamp f64 in ApplyBiquadFilterFloat | Merry | 2023-02-10 | 1 | -3/+3 |
| | | |||||
* | | biquad_filter: Fix rounding in ApplyBiquadFilterInt | Merry | 2023-02-10 | 2 | -24/+16 |
|/ | |||||
* | upsample: Fix coefficient format | Merry | 2023-01-14 | 1 | -26/+26 |
| | |||||
* | audio_core: Fix off-by-one error in upsampler | Merry | 2023-01-14 | 1 | -33/+12 |
| | |||||
* | audio_core: remove explicitly defaulted and implicitly deleted constructors | Liam | 2022-12-10 | 2 | -2/+0 |
| | |||||
* | Merge pull request #9289 from liamwhite/fruit-company | liamwhite | 2022-12-03 | 4 | -0/+4 |
|\ | | | | | general: fix compile for Apple Clang | ||||
| * | general: fix compile for Apple Clang | Liam | 2022-11-23 | 4 | -0/+4 |
| | | |||||
* | | Use the maximum input index for samples buffer span size, not just the input count | Kelebek1 | 2022-11-22 | 1 | -6/+8 |
|/ | |||||
* | Add break for default cases | Kyle Kienapfel | 2022-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return | ||||
* | general: Resolve -Wclass-memaccess | Morph | 2022-10-22 | 3 | -3/+3 |
| | |||||
* | Update audio_core for firmware 15.0.0 | Kelebek1 | 2022-10-19 | 3 | -33/+72 |
| | |||||
* | kernel: remove KWritableEvent | Liam | 2022-10-13 | 1 | -2/+2 |
| | |||||
* | common: remove "yuzu:" prefix from thread names | Liam | 2022-10-04 | 2 | -2/+2 |
| | |||||
* | audio_renderer: Make GetCommandBuffer() take a u32 | Lioncash | 2022-09-21 | 2 | -2/+2 |
| | | | | | | This function is only ever called with unsigned types, and all of the other interface functions take session_id as a u32, so this makes the class a little more consistent. | ||||
* | Merge pull request #8914 from lioncash/audio-const | bunnei | 2022-09-17 | 11 | -16/+16 |
|\ | | | | | audio_core: Mark several member functions as const | ||||
| * | audio_renderer: Pass command buffer by const reference | Lioncash | 2022-09-16 | 4 | -4/+4 |
| | | | | | | | | This is just being copied and isn't modified at all. | ||||
| * | node_states: Mark relevant member functions as const | Lioncash | 2022-09-16 | 1 | -2/+2 |
| | | |||||
| * | i3dl2/reverb: Mark relevant member functions as const | Lioncash | 2022-09-16 | 2 | -4/+4 |
| | | | | | | | | These two don't modify member state. | ||||
| * | behavior_info: Mark CopyErrorInfo as const | Lioncash | 2022-09-16 | 4 | -6/+6 |
| | | | | | | | | | | | | | | This doesn't modify member state. We can also mark the parameter of AppendError as const as well, since it isn't modified. | ||||
| * | audio_device: Mark GetDeviceVolume as const | Lioncash | 2022-09-16 | 2 | -2/+2 |
| | | | | | | | | This doesn't modify instance state. | ||||
* | | Merge pull request #8911 from lioncash/cexpr-string | Morph | 2022-09-16 | 2 | -21/+35 |
|\ \ | |/ |/| | audio_device: Make AudioDeviceName constructor constexpr | ||||
| * | audio_device: Mark member functions as const where applicable | Lioncash | 2022-09-15 | 2 | -8/+8 |
| | | | | | | | | These member functions don't modify any internal state. | ||||
| * | audio_device: Make AudioDeviceName constructor constexpr | Lioncash | 2022-09-15 | 2 | -13/+27 |
| | | | | | | | | | | | | | | | | These are used as read-only arrays, so we can make the data read-only and available at compile-time. Now constructing an AudioDevice no longer needs to initialize some tables | ||||
* | | Merge pull request #8878 from Kelebek1/remove_pause | bunnei | 2022-09-15 | 2 | -19/+1 |
|\ \ | | | | | | | Remove pause callbacks from coretiming | ||||
| * | | Remove pause callbacks from coretiming | Kelebek1 | 2022-09-13 | 2 | -19/+1 |
| |/ | |||||
* | | Merge pull request #8901 from lioncash/docs | liamwhite | 2022-09-15 | 15 | -90/+82 |
|\ \ | | | | | | | audio_core: Amend documentation comment tags | ||||
| * | | audio_core: Amend documentation tags | Lioncash | 2022-09-15 | 15 | -90/+82 |
| |/ | | | | | | | | | Resolves a wackload of -Wdocumentation warnings due to mismatching tags and whatnot. | ||||
* | | compressor: Simplify memset in InitializeCompressorEffect | Lioncash | 2022-09-13 | 1 | -1/+1 |
| | | | | | | | | Provides equivalent behavior while being significantly smaller. | ||||
* | | compressor: Mark params parameters as const | Lioncash | 2022-09-13 | 1 | -3/+3 |
| | | | | | | | | These functions don't modify the parameters. | ||||
* | | compressor: Remove unneeded casts in ApplyCompressorEffect | Lioncash | 2022-09-13 | 1 | -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 during heavy loads. | Kelebek1 | 2022-09-02 | 4 | -45/+17 |
| | |||||
* | audio_core: fix -Wuninitialized when compiling with ASan | Liam | 2022-07-30 | 1 | -4/+4 |
| | |||||
* | Avoid depop out of bounds | Kelebek1 | 2022-07-28 | 2 | -2/+2 |
| | |||||
* | Project Andio | Kelebek1 | 2022-07-22 | 156 | -0/+24687 |