Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sink_stream: Resolve heap buffer corruption due to out of bounds write | Morph | 2023-06-30 | 2 | -17/+20 |
| | | | | Also, remove the use of ScratchBuffer when upmixing, as other channels may not be initialized with zeroed out data. | ||||
* | Remove memory allocations in some hot paths | Kelebek1 | 2023-06-22 | 3 | -9/+13 |
| | |||||
* | core_timing: Use CNTPCT as the guest CPU tick | Morph | 2023-06-08 | 1 | -1/+0 |
| | | | | | 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. | ||||
* | android: audio_core: sink_stream: Remove unnecessary check. | bunnei | 2023-06-06 | 1 | -3/+0 |
| | |||||
* | Merge pull request #10508 from yuzu-emu/lime | bunnei | 2023-06-06 | 1 | -0/+3 |
|\ | | | | | Project Lime - yuzu Android Port | ||||
| * | android: audio_core: Avoid shutdown hang. | bunnei | 2023-06-03 | 1 | -0/+3 |
| | | |||||
* | | audio_renderer: resolve adsp thread deadlock shutdown | Liam | 2023-06-04 | 2 | -4/+6 |
|/ | |||||
* | Audren wait as suggested by ByLaws | Kelebek1 | 2023-05-27 | 1 | -0/+3 |
| | |||||
* | Smooth out the DSP callback by adding a 5ms wait time limit | Kelebek1 | 2023-05-18 | 1 | -2/+2 |
| | |||||
* | yuzu-sdl,audio_core: Remove antiquated warning ignore | lat9nq | 2023-05-05 | 1 | -10/+1 |
| | | | | | Issue was fixed a long time ago, both by SDL2 and in yuzu by including SDL2 as a system library. | ||||
* | Use GetGlobalTimeNs as opposed to clock ticks | Billy Laws | 2023-04-08 | 2 | -4/+3 |
| | |||||
* | Add some explicit latency to sample count reporting | Billy Laws | 2023-04-04 | 1 | -1/+2 |
| | | | | Some games have very tight scheduling requirements for their audio which can't really be matched on the host, adding a constant to the reported value helps to provide some leeway. | ||||
* | audio_core: No longer stall when sink queue is full | Billy Laws | 2023-03-27 | 4 | -64/+1 |
| | | | | Now the audout and audren update rates are tied to the sink status stalling is no longer necessary. | ||||
* | Run clang-format | Billy Laws | 2023-03-27 | 2 | -6/+5 |
| | |||||
* | audio: Wait for samples on the emulated DSP side to avoid desyncs | Billy Laws | 2023-03-27 | 2 | -0/+24 |
| | | | | 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 | 2 | -0/+38 |
| | | | | 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. | ||||
* | Merge pull request #9796 from liamwhite/current | liamwhite | 2023-02-15 | 1 | -2/+2 |
|\ | | | | | general: rename CurrentProcess to ApplicationProcess | ||||
| * | general: rename CurrentProcess to ApplicationProcess | Liam | 2023-02-14 | 1 | -2/+2 |
| | | |||||
* | | remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency | arades79 | 2023-02-14 | 1 | -6/+6 |
| | | | | | | | | Signed-off-by: arades79 <scravers@protonmail.com> | ||||
* | | add static lifetime to constexpr values to force compile time evaluation where possible | arades79 | 2023-02-14 | 1 | -6/+6 |
|/ | | | | Signed-off-by: arades79 <scravers@protonmail.com> | ||||
* | audio: cubeb: Fix yuzu crashing when it test for latency | Narr the Reg | 2023-02-10 | 1 | -0/+20 |
| | |||||
* | Merge pull request #9289 from liamwhite/fruit-company | liamwhite | 2022-12-03 | 1 | -4/+4 |
|\ | | | | | general: fix compile for Apple Clang | ||||
| * | general: fix compile for Apple Clang | Liam | 2022-11-23 | 1 | -4/+4 |
| | | |||||
* | | audio_core: sink_stream: Hold the suspend lock when process is stalled. | bunnei | 2022-11-30 | 2 | -7/+9 |
|/ | | | | - Prevents us from clashing with other callers trying to un/stall. | ||||
* | sdl2_sink: Inline variable init into if condition | lat9nq | 2022-10-17 | 1 | -2/+1 |
| | | | | Co-authored-by: Mai <mathew1800@gmail.com> | ||||
* | sdl2_sink: Distinguish between capture and non-capture device names | lat9nq | 2022-10-16 | 1 | -1/+1 |
| | | | | | | | | The function prototype appears to care whether we are loading capture devices or not, and SDL_GetAudioDeviceName has a parameter to use it, but for some reason it isn't. This puts `capture` where it goes. | ||||
* | sdl2_sink: Check for null string when loading SDL audio devices | lat9nq | 2022-10-16 | 1 | -1/+4 |
| | | | | | | | Attempting to place a null string into a vector of strings causes an error that closes the application. Don't. | ||||
* | audio_core: Revert sink name to sdl2 | Narr the Reg | 2022-10-14 | 1 | -2/+2 |
| | |||||
* | Choose the SDL audio backend when Cubeb reports too high of a latency | Kelebek1 | 2022-10-09 | 6 | -30/+93 |
| | |||||
* | Do not try to pause core timing from the audio thread when using single-core | Kelebek1 | 2022-09-22 | 1 | -2/+7 |
| | |||||
* | sink_stream: Mark GetQueueSize as const | Lioncash | 2022-09-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #8878 from Kelebek1/remove_pause | bunnei | 2022-09-15 | 8 | -83/+28 |
|\ | | | | | Remove pause callbacks from coretiming | ||||
| * | Remove pause callbacks from coretiming | Kelebek1 | 2022-09-13 | 8 | -83/+28 |
| | | |||||
* | | audio_core: Amend documentation tags | Lioncash | 2022-09-15 | 4 | -9/+6 |
| | | | | | | | | | | Resolves a wackload of -Wdocumentation warnings due to mismatching tags and whatnot. | ||||
* | | Remove a pragma once from a cpp file | Kelebek1 | 2022-09-12 | 1 | -2/+0 |
|/ | |||||
* | Don't stall with nvdec | Kelebek1 | 2022-09-04 | 1 | -1/+7 |
| | |||||
* | Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads. | Kelebek1 | 2022-09-02 | 9 | -748/+440 |
| | |||||
* | Do some log memes to help perceived volume | Kelebek1 | 2022-08-12 | 1 | -0/+3 |
| | |||||
* | Project Andio | Kelebek1 | 2022-07-22 | 9 | -0/+1934 |