Kelebek1
05afa94a3b
Move time services to new IPC.
Add some fixes/improvements to usage with the new IPC
2 years ago
Fernando Sahmkow
b206089ea7
Core: Clang format and other small issues.
2 years ago
Fernando Sahmkow
9db159da71
SMMU: Initial adaptation to video_core.
2 years ago
Viktor Szépe
8f8a15827f
Fix more typos
2 years ago
Liam
6ad73a00d2
audio: fetch process object from handle table
2 years ago
Liam
b9545c5a0e
core_timing: remove user data value
2 years ago
Liam
6e38a2629e
oboe_sink: specify additional required parameters
2 years ago
Liam
79b20256df
oboe_sink: set low latency performance mode
2 years ago
Liam
6efe1e932b
oboe_sink: implement channel count querying
2 years ago
Liam
b787b5db2e
android: add oboe audio sink
2 years ago
Liam
564cfe16bb
audio: skip coefficient normalization for downmix
2 years ago
Kelebek1
b490e69020
Have GetActiveChannelCount return the system channels instead of host device channels
2 years ago
Liam
4ecf02c792
opus: fix stereo stream count check in multistream decoder object
2 years ago
Liam
c0e37fa65f
audio_core: ignore renderer wait when stream is paused
2 years ago
Kelebek1
539b99379d
Convert files to LF eol
2 years ago
Kelebek1
a32519ce34
Allow 0 stereo count
2 years ago
Liam
d881c9f326
audio: fix shutdown deadlock in audio renderer
2 years ago
Kelebek1
02e6f4115f
Clear DSP buffer after each execution
2 years ago
Liam
445d504f94
ci: fix new codespell errors
2 years ago
Kelebek1
ae492d8a74
Do not consider voice commands in time estimation, fix adpcm estimate
2 years ago
Kelebek1
07b63b15ad
Reimplement HardwareOpus
3 years ago
Kelebek1
0d50c09352
Fix data source version 1 command looping
2 years ago
Kelebek1
4ef3915a8c
Do not reset the command buffer command count each time
2 years ago
Kelebek1
de326e42bb
Rework ADSP into a wrapper for apps
3 years ago
Danila Malyutin
7f0de0f204
msvc: set warning level to /W4 globally
And fix a bunch of warnings
3 years ago
Kelebek1
007b1e9652
Fix node id index in DropVoices
3 years ago
Liam
b12322b8fe
audio: allow more latency in cubeb initialization
3 years ago
Kelebek1
5c4e9a276f
Pre-test opening a stream for audio backends, fall back to null if not suitable.
3 years ago
Kelebek1
f9848f29a0
Fix AudioRendererParameterInternal's size
3 years ago
lat9nq
5a2b7f951d
(ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
3 years ago
lat9nq
78f92086ca
settings,general: Rename non-confirming enums
3 years ago
lat9nq
d39bfc646f
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
42638691b5
Use spans over guest memory where possible instead of copying data.
3 years ago
Morph
885090dc13
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
c7430e51e3
Remove memory allocations in some hot paths
3 years ago
Liam
1b33ebdde2
nvnflinger: allow locking framerate during video playback
3 years ago
Morph
2856fadaa0
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
5b8f185151
android: audio_core: sink_stream: Remove unnecessary check.
3 years ago
Liam
16bd50f9b4
audio_renderer: resolve adsp thread deadlock shutdown
3 years ago
bunnei
bbd4f9c722
android: audio_core: Avoid shutdown hang.
3 years ago
Kelebek1
29e1cdf7e1
Audren wait as suggested by ByLaws
3 years ago
Kelebek1
ba0d258a3f
Smooth out the DSP callback by adding a 5ms wait time limit
3 years ago
lat9nq
be5eee647e
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
967e5b2873
Wait for the terminate event before destroying a system instance
3 years ago
Billy Laws
6b2510c7c5
Use GetGlobalTimeNs as opposed to clock ticks
3 years ago
Billy Laws
5dbfd7861a
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
1794a33c52
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
91d14c0022
Run clang-format
3 years ago
Billy Laws
d3f0149af2
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
7e7ad78aaf
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