summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio: formatLiam2024-02-212-5/+6
|
* audio: rewrite IAudioDeviceLiam2024-02-212-12/+8
|
* audio: rewrite IAudioRendererManagerLiam2024-02-218-39/+45
|
* Use the input process handle to get the correct application's memoryKelebek12024-01-284-8/+20
|
* Core: Clang format and other small issues.Fernando Sahmkow2024-01-191-1/+1
|
* SMMU: Initial adaptation to video_core.Fernando Sahmkow2024-01-191-0/+1
|
* Fix more typosViktor Szépe2024-01-164-9/+9
|
* ci: fix new codespell errorsLiam2023-10-031-1/+1
|
* Do not consider voice commands in time estimation, fix adpcm estimateKelebek12023-09-182-6/+8
|
* Merge pull request #11465 from Kelebek1/skip_remaining_resetliamwhite2023-09-101-11/+5
|\ | | | | [Audio] Do not reset the remaining command count each time
| * Do not reset the command buffer command count each timeKelebek12023-09-071-11/+5
| |
* | Fix data source version 1 command loopingKelebek12023-09-084-52/+72
|/
* Rework ADSP into a wrapper for appsKelebek12023-09-04154-1561/+637
|
* Fix node id index in DropVoicesKelebek12023-08-281-1/+1
|
* Use spans over guest memory where possible instead of copying data.Kelebek12023-07-032-74/+29
|
* Remove memory allocations in some hot pathsKelebek12023-06-2212-48/+47
|
* core_timing: Use CNTPCT as the guest CPU tickMorph2023-06-084-14/+8
| | | | | 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.
* audio_renderer: resolve adsp thread deadlock shutdownLiam2023-06-042-6/+6
|
* Smooth out the DSP callback by adding a 5ms wait time limitKelebek12023-05-183-14/+10
|
* Wait for the terminate event before destroying a system instanceKelebek12023-05-011-4/+1
|
* Merge pull request #9969 from bylaws/masterbunnei2023-04-014-25/+4
|\ | | | | Audio synchronisation improvements
| * Run clang-formatBilly Laws2023-03-271-1/+1
| |
| * audio: Wait for samples on the emulated DSP side to avoid desyncsBilly Laws2023-03-274-24/+4
| | | | | | | | 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.
| * audio: Interpolate system manager sample count using host sink sample infoBilly Laws2023-03-261-1/+0
| | | | | | | | 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.
* | memory: rename global memory references to application memoryLiam2023-03-243-4/+3
|/
* general: fix spelling mistakesLiam2023-03-1214-25/+25
|
* Merge pull request #9917 from Morph1984/the-real-timeliamwhite2023-03-101-1/+1
|\ | | | | native_clock: Re-adjust the RDTSC frequency to its real frequency
| * core: Promote CPU/GPU threads to time criticalMorph2023-03-081-1/+1
| | | | | | | | And also demote Audren and CoreTiming to High thread priority.
* | hle: rename legacy errors to ResultsLiam2023-03-075-50/+50
|/
* Fix a bug with the Reverb command in reading from the pre_delay line.Kelebek12023-03-023-6/+8
|
* Merge pull request #9769 from Kelebek1/audio_oobbunnei2023-02-162-40/+92
|\ | | | | [audio_core] Fix depop prepare
| * Add fallback for memory read/write in case the address goes over a 4K pageKelebek12023-02-111-12/+64
| |
| * Fix depop prepare receiving bad mix infos and writing out of bounds, and update aux a bit, may helpKelebek12023-02-112-40/+40
| |
* | Merge pull request #9796 from liamwhite/currentliamwhite2023-02-151-1/+1
|\ \ | | | | | | general: rename CurrentProcess to ApplicationProcess
| * | general: rename CurrentProcess to ApplicationProcessLiam2023-02-141-1/+1
| | |
* | | remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades792023-02-1411-33/+33
| | | | | | | | | | | | Signed-off-by: arades79 <scravers@protonmail.com>
* | | add static lifetime to constexpr values to force compile time evaluation where possiblearades792023-02-1411-33/+33
| | | | | | | | | | | | Signed-off-by: arades79 <scravers@protonmail.com>
* | | Fix biquad filter command's state buffer offsetKelebek12023-02-131-2/+2
|/ /
* | biquad_filter: Clamp f64 in ApplyBiquadFilterFloatMerry2023-02-101-3/+3
| |
* | biquad_filter: Fix rounding in ApplyBiquadFilterIntMerry2023-02-102-24/+16
|/
* upsample: Fix coefficient formatMerry2023-01-141-26/+26
|
* audio_core: Fix off-by-one error in upsamplerMerry2023-01-141-33/+12
|
* audio_core: remove explicitly defaulted and implicitly deleted constructorsLiam2022-12-102-2/+0
|
* Merge pull request #9289 from liamwhite/fruit-companyliamwhite2022-12-034-0/+4
|\ | | | | general: fix compile for Apple Clang
| * general: fix compile for Apple ClangLiam2022-11-234-0/+4
| |
* | Use the maximum input index for samples buffer span size, not just the input countKelebek12022-11-221-6/+8
|/
* Add break for default casesKyle Kienapfel2022-11-141-0/+1
| | | | | | | | | | | Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return
* general: Resolve -Wclass-memaccessMorph2022-10-223-3/+3
|
* Update audio_core for firmware 15.0.0Kelebek12022-10-193-33/+72
|
* kernel: remove KWritableEventLiam2022-10-131-2/+2
|
* common: remove "yuzu:" prefix from thread namesLiam2022-10-042-2/+2
|
* audio_renderer: Make GetCommandBuffer() take a u32Lioncash2022-09-212-2/+2
| | | | | | This function is only ever called with unsigned types, and all of the other interface functions take session_id as a u32, so this makes the class a little more consistent.
* Merge pull request #8914 from lioncash/audio-constbunnei2022-09-1711-16/+16
|\ | | | | audio_core: Mark several member functions as const
| * audio_renderer: Pass command buffer by const referenceLioncash2022-09-164-4/+4
| | | | | | | | This is just being copied and isn't modified at all.
| * node_states: Mark relevant member functions as constLioncash2022-09-161-2/+2
| |
| * i3dl2/reverb: Mark relevant member functions as constLioncash2022-09-162-4/+4
| | | | | | | | These two don't modify member state.
| * behavior_info: Mark CopyErrorInfo as constLioncash2022-09-164-6/+6
| | | | | | | | | | | | | | This doesn't modify member state. We can also mark the parameter of AppendError as const as well, since it isn't modified.
| * audio_device: Mark GetDeviceVolume as constLioncash2022-09-162-2/+2
| | | | | | | | This doesn't modify instance state.
* | Merge pull request #8911 from lioncash/cexpr-stringMorph2022-09-162-21/+35
|\ \ | |/ |/| audio_device: Make AudioDeviceName constructor constexpr
| * audio_device: Mark member functions as const where applicableLioncash2022-09-152-8/+8
| | | | | | | | These member functions don't modify any internal state.
| * audio_device: Make AudioDeviceName constructor constexprLioncash2022-09-152-13/+27
| | | | | | | | | | | | | | | | These are used as read-only arrays, so we can make the data read-only and available at compile-time. Now constructing an AudioDevice no longer needs to initialize some tables
* | Merge pull request #8878 from Kelebek1/remove_pausebunnei2022-09-152-19/+1
|\ \ | | | | | | Remove pause callbacks from coretiming
| * | Remove pause callbacks from coretimingKelebek12022-09-132-19/+1
| |/
* | Merge pull request #8901 from lioncash/docsliamwhite2022-09-1515-90/+82
|\ \ | | | | | | audio_core: Amend documentation comment tags
| * | audio_core: Amend documentation tagsLioncash2022-09-1515-90/+82
| |/ | | | | | | | | Resolves a wackload of -Wdocumentation warnings due to mismatching tags and whatnot.
* | compressor: Simplify memset in InitializeCompressorEffectLioncash2022-09-131-1/+1
| | | | | | | | Provides equivalent behavior while being significantly smaller.
* | compressor: Mark params parameters as constLioncash2022-09-131-3/+3
| | | | | | | | These functions don't modify the parameters.
* | compressor: Remove unneeded casts in ApplyCompressorEffectLioncash2022-09-131-2/+1
|/ | | | | Same behavior, but also silences a -Wcast-qual warning, since the second cast casts away const.
* Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.Kelebek12022-09-024-45/+17
|
* audio_core: fix -Wuninitialized when compiling with ASanLiam2022-07-301-4/+4
|
* Avoid depop out of boundsKelebek12022-07-282-2/+2
|
* Project AndioKelebek12022-07-22156-0/+24687