summaryrefslogtreecommitdiffstats
path: root/src/audio_core/sink (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-06android: audio_core: sink_stream: Remove unnecessary check.bunnei1-3/+0
2023-06-04audio_renderer: resolve adsp thread deadlock shutdownLiam2-4/+6
2023-06-03android: audio_core: Avoid shutdown hang.bunnei1-0/+3
2023-05-27Audren wait as suggested by ByLawsKelebek11-0/+3
2023-05-18Smooth out the DSP callback by adding a 5ms wait time limitKelebek11-2/+2
2023-05-05yuzu-sdl,audio_core: Remove antiquated warning ignorelat9nq1-10/+1
Issue was fixed a long time ago, both by SDL2 and in yuzu by including SDL2 as a system library.
2023-04-08Use GetGlobalTimeNs as opposed to clock ticksBilly Laws2-4/+3
2023-04-04Add some explicit latency to sample count reportingBilly Laws1-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.
2023-03-27audio_core: No longer stall when sink queue is fullBilly Laws4-64/+1
Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
2023-03-27Run clang-formatBilly Laws2-6/+5
2023-03-27audio: Wait for samples on the emulated DSP side to avoid desyncsBilly Laws2-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.
2023-03-26audio: Interpolate system manager sample count using host sink sample infoBilly Laws2-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.
2023-02-14remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades791-6/+6
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation where possiblearades791-6/+6
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14general: rename CurrentProcess to ApplicationProcessLiam1-2/+2
2023-02-10audio: cubeb: Fix yuzu crashing when it test for latencyNarr the Reg1-0/+20
2022-11-30audio_core: sink_stream: Hold the suspend lock when process is stalled.bunnei2-7/+9
- Prevents us from clashing with other callers trying to un/stall.
2022-11-23general: fix compile for Apple ClangLiam1-4/+4
2022-10-17sdl2_sink: Inline variable init into if conditionlat9nq1-2/+1
Co-authored-by: Mai <mathew1800@gmail.com>
2022-10-16sdl2_sink: Distinguish between capture and non-capture device nameslat9nq1-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.
2022-10-16sdl2_sink: Check for null string when loading SDL audio deviceslat9nq1-1/+4
Attempting to place a null string into a vector of strings causes an error that closes the application. Don't.
2022-10-14audio_core: Revert sink name to sdl2Narr the Reg1-2/+2
2022-10-09Choose the SDL audio backend when Cubeb reports too high of a latencyKelebek16-30/+93
2022-09-22Do not try to pause core timing from the audio thread when using single-coreKelebek11-2/+7
2022-09-16sink_stream: Mark GetQueueSize as constLioncash1-1/+1
2022-09-15audio_core: Amend documentation tagsLioncash4-9/+6
Resolves a wackload of -Wdocumentation warnings due to mismatching tags and whatnot.
2022-09-13Remove pause callbacks from coretimingKelebek18-83/+28
2022-09-12Remove a pragma once from a cpp fileKelebek11-2/+0
2022-09-04Don't stall with nvdecKelebek11-1/+7
2022-09-02Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.Kelebek19-748/+440
2022-08-12Do some log memes to help perceived volumeKelebek11-0/+3
2022-07-22Project AndioKelebek19-0/+1934