Kelebek1
800d6f7d0d
Fix data source version 1 command looping
3 years ago
Kelebek1
4baaaf6a99
Do not reset the command buffer command count each time
3 years ago
Kelebek1
ebd19dec99
Rework ADSP into a wrapper for apps
3 years ago
Danila Malyutin
785e480b62
msvc: set warning level to /W4 globally
And fix a bunch of warnings
3 years ago
Kelebek1
1d201c71dc
Fix node id index in DropVoices
3 years ago
Liam
954144e22b
audio: allow more latency in cubeb initialization
3 years ago
Kelebek1
39c8ddcda2
Pre-test opening a stream for audio backends, fall back to null if not suitable.
3 years ago
Kelebek1
70f37be9b9
Fix AudioRendererParameterInternal's size
3 years ago
lat9nq
04d4b6ab80
(ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
3 years ago
lat9nq
d146dd9d12
settings,general: Rename non-confirming enums
3 years ago
lat9nq
432f68ad29
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
settings: Make audio settings as enums
3 years ago
Kelebek1
6f7cb69c94
Use spans over guest memory where possible instead of copying data.
3 years ago
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
6c34adb1de
nvnflinger: allow locking framerate during video playback
3 years ago
Morph
8e56a84566
core_timing: Use CNTPCT as the guest CPU tick
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.
3 years ago
bunnei
069d7e6be4
android: audio_core: sink_stream: Remove unnecessary check.
3 years ago
Liam
e96a3a1713
audio_renderer: resolve adsp thread deadlock shutdown
3 years ago
bunnei
40e938376b
android: audio_core: Avoid shutdown hang.
3 years ago
Kelebek1
9c2b211f12
Audren wait as suggested by ByLaws
3 years ago
Kelebek1
d75bcdd077
Smooth out the DSP callback by adding a 5ms wait time limit
3 years ago
lat9nq
740c349820
yuzu-sdl,audio_core: Remove antiquated warning ignore
Issue was fixed a long time ago, both by SDL2 and in yuzu by including
SDL2 as a system library.
3 years ago
Kelebek1
2feb40f14d
Wait for the terminate event before destroying a system instance
3 years ago
Billy Laws
8908663f12
Use GetGlobalTimeNs as opposed to clock ticks
3 years ago
Billy Laws
0afb9631b5
Add some explicit latency to sample count reporting
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.
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
Liam
41d99aa89d
memory: rename global memory references to application memory
3 years ago
Liam
600f325d87
general: fix spelling mistakes
3 years ago
Morph
3053a62375
core: Promote CPU/GPU threads to time critical
And also demote Audren and CoreTiming to High thread priority.
3 years ago
Liam
1d0fe75e7c
hle: rename legacy errors to Results
3 years ago
Kelebek1
104cb6aa0a
Fix a bug with the Reverb command in reading from the pre_delay line.
3 years ago
arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Liam
ceda2d280e
general: rename CurrentProcess to ApplicationProcess
3 years ago
Kelebek1
3a90ed99be
Fix biquad filter command's state buffer offset
3 years ago
Kelebek1
2e02ed8bb5
Add fallback for memory read/write in case the address goes over a 4K page
3 years ago
Kelebek1
19e1ea6a02
Fix depop prepare receiving bad mix infos and writing out of bounds, and update aux a bit, may help
3 years ago
Merry
3c60bc36a1
biquad_filter: Clamp f64 in ApplyBiquadFilterFloat
3 years ago
Merry
9bdcb1070f
biquad_filter: Fix rounding in ApplyBiquadFilterInt
3 years ago
Narr the Reg
7c0dcea96c
audio: cubeb: Fix yuzu crashing when it test for latency
3 years ago
Merry
a0e8e5b22e
upsample: Fix coefficient format
3 years ago
Merry
122a8faa38
audio_core: Fix off-by-one error in upsampler
3 years ago
Liam
c18cf05a06
cmake: make cubeb and SDL2 optional
3 years ago
Kelebek1
6a56f42f5d
Signal buffer event on audio in/out system stop, and force remove all registered audio buffers
3 years ago
Liam
e532b74e11
audio_core: remove explicitly defaulted and implicitly deleted constructors
3 years ago
Alexandre Bouvier
e6ae720c33
cmake: use sdl2 imported target
3 years ago
Alexandre Bouvier
8e17b5469f
cmake: prefer system libraries
3 years ago