Commit Graph

484 Commits

Author SHA1 Message Date
Francisco Javier Trujillo Mata
082fa22b05 Clean all the warnings in PS2 2021-01-30 15:47:52 +01:00
IAmBoring
88a1379053
XAudio2 threaded creation
COM initialization
2021-01-05 16:10:11 +00:00
twinaphex
51f0d04569 Update 2020-12-20 16:41:44 +01:00
twinaphex
870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
Oschowa
78bb0de6e9 (Audio/JACK) Deinterleave in the process callback
This allows us to avoid the extra copy to the deinterleave buffer and
lets us use only a single jack ringbuffer.
2020-12-04 00:18:23 +01:00
Oschowa
604eb32c35 (Audio/JACK) Fix non-blocking write
Previously we would wait on the condition variable even in the non-blocking case.
This improves fast-forward performance massively and brings JACK in line
with other backends in that regard.
2020-12-04 00:09:40 +01:00
Oschowa
8058735cdb (Audio/ALSA) Fill hw_params configuration space before trying to detect
float format.
Otherwire detection will always fail.
2020-11-06 23:09:42 +01:00
twinaphex
6c067d149d (Xaudio) Cleanups 2020-10-03 20:35:50 +02:00
twinaphex
783bcb7a61 Avoid printf/puts 2020-09-28 03:17:21 +02:00
twinaphex
8811c555fe (OSS) Buildfix 2020-09-20 23:33:13 +02:00
twinaphex
e50d5af2db (OSS) Get rid of static globals 2020-09-20 23:30:19 +02:00
twinaphex
f8a71e8ea4 (Rwebaudio) Get rid of static global variables, put it in struct 2020-09-20 23:09:18 +02:00
twinaphex
45c257e0dd (Rwebaudio) Cleanups 2020-09-20 23:05:09 +02:00
Autechre
33a04a794f
Merge pull request #11312 from justinweiss/3ds-enable-threading
[3DS] Enable threading and add a threaded audio driver
2020-09-10 06:50:12 +02:00
Autechre
2d3c63f545
Merge pull request #11248 from justinweiss/update-libctru
[3DS] Update to libctru 2.0
2020-09-10 06:49:54 +02:00
Justin Weiss
f53c137459 [3DS] Enable threading 2020-08-27 19:36:39 -07:00
Justin Weiss
9ae2514009 [3DS] Update to libctru 2.0
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.

Some 2.0 changes addressed rare problems in earlier versions:

- Save / restore stack pointer for init / exit
  Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events

Other changes for 2.0:

- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
twinaphex
13604b047f (Audio) reorder structs/alignment (don't touch Switch audio drivers
for now)
2020-08-26 15:24:33 +02:00
twinaphex
4c0d9bc68d Struct reordering/alignment 2020-08-14 21:19:32 +02:00
twinaphex
c522f97e0f Cleanups 2020-07-31 14:51:46 +02:00
twinaphex
c19ea3e8ab Cleanup 2020-07-31 14:49:30 +02:00
twinaphex
1f1571425a (Switch) Cleanups 2020-07-31 14:47:14 +02:00
twinaphex
573f9e60c7 (libnx) Prevent some warnings 2020-07-31 10:54:57 +02:00
twinaphex
a01380f847 (WiiU) Buildfixes 2020-07-23 18:01:15 +02:00
twinaphex
4f39c60bc0 (Switch) Silence some more warnings 2020-07-23 05:29:42 +02:00
twinaphex
0a1942f528 Turn fifo_read_avail and fifo_write_avail into macros 2020-07-07 08:13:32 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
e030986837 Replace fprintfs with RARCH_LOG/RARCH_ERR 2020-05-24 19:29:55 +02:00
twinaphex
bcbad532e6 Rewrite fprintf into RARCH_ERR 2020-05-24 19:22:17 +02:00
twinaphex
4f2566ad50 (JACK) Query audio device from settings struct again 2020-05-21 04:21:00 +02:00
twinaphex
4a9e1e6c7e Revert "Backport"
This reverts commit 685db05032.
2020-05-11 03:49:27 +02:00
twinaphex
685db05032 Backport
66876fe858
- handles insertion/removal of audio devices for Xaudio2 - hopefully a
callback based approach can be done later
2020-05-11 03:29:01 +02:00
Mats A
e3cbd2e62f add define to keep compat with previous libnx release 2020-04-11 18:07:59 +02:00
Mats A
6f5f600f47 rename U64_MAX to UINT64_MAX due to libnx changes 2020-04-07 13:23:06 +02:00
twinaphex
d3bc82d2c3 Header cleanups 2020-03-05 14:12:20 +01:00
twinaphex
85c672a0f6 Settings pointer cleanups 2020-02-19 20:57:02 +01:00
twinaphex
7eb41e7057 (JACK) Get rid of configuration.h dependency 2020-02-12 17:13:47 +01:00
twinaphex
880391d0c5 (libnx) Try to silence warnings 2020-02-10 12:36:11 +01:00
Twinaphex
eb58b8c0b5
Update opensl.c 2020-02-05 18:53:11 +01:00
twinaphex
74cd84399f Cleanups - Replace '== NULL' 2020-01-30 16:47:33 +01:00
twinaphex
a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
Yoshi Sugawara
72a6e71e72 tvOS: fix preprocessor flag; update version in Info.plist 2020-01-18 20:01:41 -10:00
twinaphex
c1137ee3fa CoreAudio - Put g_interrupted behind IOS ifdefs 2020-01-14 20:22:06 +01:00
twinaphex
6cfe0ea77c (Audio) Update 2020-01-14 20:20:54 +01:00
hizzlekizzle
9b2752ff07
Merge pull request #9896 from m4tsa/update-libnx
fix breaking changes from the 3.0.0 libnx release
2020-01-14 08:32:47 -06:00
twinaphex
a986b71947 Remove separate audio / video null driver files 2020-01-06 15:22:21 +01:00
Mats A
ef2ddf6912 fix breaking changes from the 3.0.0 libnx release 2020-01-06 13:12:00 +01:00
twinaphex
fa2a748631 (DSound) Create dsound_set_wavefmt 2020-01-05 17:16:55 +01:00
twinaphex
bdc866d6d5 (DSound/WASAPI) Cleanups 2020-01-05 17:08:50 +01:00
twinaphex
96395f7d39 (Xenon) Update sound driver 2020-01-04 13:47:50 +01:00