Morph
ea8d5ef5e8
sink_stream: Resolve heap buffer corruption due to out of bounds write
Also, remove the use of ScratchBuffer when upmixing, as other channels may not be initialized with zeroed out data.
3 years ago
Kelebek1
5da70f7197
Remove memory allocations in some hot paths
3 years ago
Liam
e96a3a1713
audio_renderer: resolve adsp thread deadlock shutdown
3 years ago
Billy Laws
8908663f12
Use GetGlobalTimeNs as opposed to clock ticks
3 years ago
Billy Laws
530fe24768
audio_core: No longer stall when sink queue is full
Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
3 years ago
Billy Laws
237934b736
Run clang-format
3 years ago
Billy Laws
ea5dd02db9
audio: Wait for samples on the emulated DSP side to avoid desyncs
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.
3 years ago
Billy Laws
d8fc3f403b
audio: Interpolate system manager sample count using host sink sample info
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.
3 years ago
bunnei
8fd4e44014
audio_core: sink_stream: Hold the suspend lock when process is stalled.
- Prevents us from clashing with other callers trying to un/stall.
3 years ago
Lioncash
d5d6322640
sink_stream: Mark GetQueueSize as const
4 years ago
Lioncash
2c91fbf7f1
audio_core: Amend documentation tags
Resolves a wackload of -Wdocumentation warnings due to mismatching tags
and whatnot.
4 years ago
Kelebek1
e93e898df5
Remove pause callbacks from coretiming
4 years ago
Kelebek1
ea9ff71725
Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.
4 years ago
Kelebek1
458da8a948
Project Andio
4 years ago