aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core
AgeCommit message (Collapse)Author
2023-10-13audio: fix shutdown deadlock in audio rendererLiam
2023-10-10Clear DSP buffer after each executionKelebek1
2023-10-02ci: fix new codespell errorsLiam
2023-09-18Merge pull request #11520 from Kelebek1/estimated_timeliamwhite
Do not consider voice commands in time estimation, fix adpcm estimate
2023-09-18Do not consider voice commands in time estimation, fix adpcm estimateKelebek1
2023-09-16Reimplement HardwareOpusKelebek1
2023-09-10Merge pull request #11465 from Kelebek1/skip_remaining_resetliamwhite
[Audio] Do not reset the remaining command count each time
2023-09-08Fix data source version 1 command loopingKelebek1
2023-09-07Do not reset the command buffer command count each timeKelebek1
2023-09-06Merge pull request #11428 from Kelebek1/adsp_reworkliamwhite
Rework ADSP into a wrapper for apps
2023-09-04Rework ADSP into a wrapper for appsKelebek1
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin
And fix a bunch of warnings
2023-08-29Merge pull request #11408 from Kelebek1/fix_audio_node_idliamwhite
[Audio] Fix node id index in DropVoices
2023-08-28Fix node id index in DropVoicesKelebek1
2023-08-27audio: allow more latency in cubeb initializationLiam
2023-08-23Pre-test opening a stream for audio backends, fall back to null if not suitable.Kelebek1
2023-08-02Merge pull request #10839 from lat9nq/pgc-plusliamwhite
general: Reimplement per-game configurations
2023-07-30Fix AudioRendererParameterInternal's sizeKelebek1
2023-07-21(ui,)settings: Use explicit instantiationlat9nq
Reduces compile times a tad on clang.
2023-07-21settings,general: Rename non-confirming enumslat9nq
2023-07-21configure_audio: Implement ui generationlat9nq
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
2023-07-02Use spans over guest memory where possible instead of copying data.Kelebek1
2023-06-30sink_stream: Resolve heap buffer corruption due to out of bounds writeMorph
Also, remove the use of ScratchBuffer when upmixing, as other channels may not be initialized with zeroed out data.
2023-06-22Remove memory allocations in some hot pathsKelebek1
2023-06-21Merge pull request #10086 from Morph1984/coretiming-ng-1bunnei
core_timing: Use CNTPCT as the guest CPU tick
2023-06-08nvnflinger: allow locking framerate during video playbackLiam
2023-06-07core_timing: Use CNTPCT as the guest CPU tickMorph
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.
2023-06-05android: audio_core: sink_stream: Remove unnecessary check.bunnei
2023-06-05Merge pull request #10508 from yuzu-emu/limebunnei
Project Lime - yuzu Android Port
2023-06-04audio_renderer: resolve adsp thread deadlock shutdownLiam
2023-06-03android: audio_core: Avoid shutdown hang.bunnei
2023-05-27Audren wait as suggested by ByLawsKelebek1
2023-05-18Smooth out the DSP callback by adding a 5ms wait time limitKelebek1
2023-05-06Merge pull request #10162 from lat9nq/sdl-remove-oldliamwhite
yuzu-sdl,audio_core: Remove antiquated warning ignore
2023-05-05yuzu-sdl,audio_core: Remove antiquated warning ignorelat9nq
Issue was fixed a long time ago, both by SDL2 and in yuzu by including SDL2 as a system library.
2023-05-01Wait for the terminate event before destroying a system instanceKelebek1
2023-04-08Use GetGlobalTimeNs as opposed to clock ticksBilly Laws
2023-04-03Add some explicit latency to sample count reportingBilly Laws
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-04-01Merge pull request #9969 from bylaws/masterbunnei
Audio synchronisation improvements
2023-03-27audio_core: No longer stall when sink queue is fullBilly Laws
Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
2023-03-27Run clang-formatBilly Laws
2023-03-27audio: Wait for samples on the emulated DSP side to avoid desyncsBilly Laws
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 Laws
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-03-23memory: rename global memory references to application memoryLiam
2023-03-12general: fix spelling mistakesLiam
2023-03-10Merge pull request #9917 from Morph1984/the-real-timeliamwhite
native_clock: Re-adjust the RDTSC frequency to its real frequency
2023-03-07core: Promote CPU/GPU threads to time criticalMorph
And also demote Audren and CoreTiming to High thread priority.
2023-03-06hle: rename legacy errors to ResultsLiam
2023-03-02Fix a bug with the Reverb command in reading from the pre_delay line.Kelebek1
2023-02-16Merge pull request #9769 from Kelebek1/audio_oobbunnei
[audio_core] Fix depop prepare