Commit graph

388 commits

Author SHA1 Message Date
Fernando S
7c8e3b1891 Merge pull request #12387 from liamwhite/oboe
android: add oboe audio sink
2023-12-19 16:15:07 +01:00
Liam
6e38a2629e oboe_sink: specify additional required parameters 2023-12-18 17:27:32 -05:00
Liam
79b20256df oboe_sink: set low latency performance mode 2023-12-17 21:05:00 -05:00
Liam
6efe1e932b oboe_sink: implement channel count querying 2023-12-17 10:10:14 -05:00
Liam
b787b5db2e android: add oboe audio sink 2023-12-17 01:42:59 -05:00
Liam
564cfe16bb audio: skip coefficient normalization for downmix 2023-12-16 13:05:55 -05:00
Kelebek1
b490e69020 Have GetActiveChannelCount return the system channels instead of host device channels 2023-12-16 12:49:28 -05:00
Liam
4ecf02c792 opus: fix stereo stream count check in multistream decoder object 2023-11-17 08:26:22 -05:00
Liam
c0e37fa65f audio_core: ignore renderer wait when stream is paused 2023-11-12 23:10:53 -05:00
Kelebek1
539b99379d Convert files to LF eol 2023-11-04 18:25:40 +00:00
Kelebek1
a32519ce34 Allow 0 stereo count 2023-11-03 11:45:40 -04:00
Liam
d881c9f326 audio: fix shutdown deadlock in audio renderer 2023-10-13 16:34:31 -04:00
Kelebek1
02e6f4115f Clear DSP buffer after each execution 2023-10-10 18:22:08 +01:00
Liam
445d504f94 ci: fix new codespell errors 2023-10-02 18:03:05 -04:00
liamwhite
7052af7e34 Merge pull request #11520 from Kelebek1/estimated_time
Do not consider voice commands in time estimation, fix adpcm estimate
2023-09-18 09:30:56 -04:00
Kelebek1
ae492d8a74 Do not consider voice commands in time estimation, fix adpcm estimate 2023-09-18 10:38:14 +01:00
Kelebek1
07b63b15ad Reimplement HardwareOpus 2023-09-16 11:56:25 -04:00
liamwhite
80c47115e6 Merge pull request #11465 from Kelebek1/skip_remaining_reset
[Audio] Do not reset the remaining command count each time
2023-09-10 13:40:32 -04:00
Kelebek1
0d50c09352 Fix data source version 1 command looping 2023-09-08 15:03:21 +01:00
Kelebek1
4ef3915a8c Do not reset the command buffer command count each time 2023-09-07 20:53:48 +01:00
liamwhite
7ee4a4c2f8 Merge pull request #11428 from Kelebek1/adsp_rework
Rework ADSP into a wrapper for apps
2023-09-06 09:13:06 -04:00
Kelebek1
de326e42bb Rework ADSP into a wrapper for apps 2023-09-04 17:12:16 +01:00
Danila Malyutin
7f0de0f204 msvc: set warning level to /W4 globally
And fix a bunch of warnings
2023-09-03 18:42:10 +04:00
liamwhite
5da0108540 Merge pull request #11408 from Kelebek1/fix_audio_node_id
[Audio] Fix node id index in DropVoices
2023-08-29 09:27:40 -04:00
Kelebek1
007b1e9652 Fix node id index in DropVoices 2023-08-28 10:35:30 +01:00
Liam
b12322b8fe audio: allow more latency in cubeb initialization 2023-08-27 12:46:01 -04:00
Kelebek1
5c4e9a276f Pre-test opening a stream for audio backends, fall back to null if not suitable. 2023-08-23 08:33:26 +01:00
liamwhite
28b236b988 Merge pull request #10839 from lat9nq/pgc-plus
general: Reimplement per-game configurations
2023-08-02 14:25:52 -04:00
Kelebek1
f9848f29a0 Fix AudioRendererParameterInternal's size 2023-07-30 06:50:59 +01:00
lat9nq
5a2b7f951d (ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
2023-07-21 10:56:54 -04:00
lat9nq
78f92086ca settings,general: Rename non-confirming enums 2023-07-21 10:56:54 -04:00
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
2023-07-21 10:56:07 -04:00
Kelebek1
42638691b5 Use spans over guest memory where possible instead of copying data. 2023-07-02 23:09:48 +01:00
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.
2023-06-30 00:54:23 -04:00
Kelebek1
c7430e51e3 Remove memory allocations in some hot paths 2023-06-22 08:05:10 +01:00
bunnei
72a469b967 Merge pull request #10086 from Morph1984/coretiming-ng-1
core_timing: Use CNTPCT as the guest CPU tick
2023-06-21 21:12:46 -07:00
Liam
1b33ebdde2 nvnflinger: allow locking framerate during video playback 2023-06-08 01:15:51 -04:00
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.
2023-06-07 21:44:42 -04:00
bunnei
5b8f185151 android: audio_core: sink_stream: Remove unnecessary check. 2023-06-05 21:47:36 -07:00
bunnei
31ad92b287 Merge pull request #10508 from yuzu-emu/lime
Project Lime - yuzu Android Port
2023-06-05 21:43:43 -07:00
Liam
16bd50f9b4 audio_renderer: resolve adsp thread deadlock shutdown 2023-06-04 13:00:10 -04:00
bunnei
bbd4f9c722 android: audio_core: Avoid shutdown hang. 2023-06-03 00:06:06 -07:00
Kelebek1
29e1cdf7e1 Audren wait as suggested by ByLaws 2023-05-27 17:38:07 +01:00
Kelebek1
ba0d258a3f Smooth out the DSP callback by adding a 5ms wait time limit 2023-05-18 13:03:32 +01:00
liamwhite
0018e53745 Merge pull request #10162 from lat9nq/sdl-remove-old
yuzu-sdl,audio_core: Remove antiquated warning ignore
2023-05-06 23:10:09 -04:00
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.
2023-05-05 03:48:28 -04:00
Kelebek1
967e5b2873 Wait for the terminate event before destroying a system instance 2023-05-01 00:27:12 +01:00
Billy Laws
6b2510c7c5 Use GetGlobalTimeNs as opposed to clock ticks 2023-04-08 21:54:19 +01:00
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.
2023-04-03 23:11:36 +01:00
bunnei
831a0614ea Merge pull request #9969 from bylaws/master
Audio synchronisation improvements
2023-04-01 14:34:59 -07:00