1585 Commits

Author SHA1 Message Date
libretroadmin
2809421d4e Revert "static variables are initialized to '0' automatically as per C rules"
This reverts commit 2a0984b6e47b5f714ce4a360afeaadafdb634c36.
2024-11-19 03:03:13 +01:00
libretroadmin
2a0984b6e4 static variables are initialized to '0' automatically as per C rules 2024-11-18 15:33:34 +01:00
libretroadmin
62fd7e105d audio_driver_sample - fix potential crash 2024-11-18 14:21:18 +01:00
Viačasłaŭ
3019b926c2
Fix typos (#17068) 2024-10-01 17:36:33 -07:00
Eric Warmenhoven
6e2f0a4f30
apple: don't allow opening sdl2 microphone if not using sdl2 audio (#16989) 2024-09-11 12:33:41 -07:00
libretroadmin
c961e79a0c Variable simplification 2024-09-10 06:25:00 +02:00
libretroadmin
3c23b2d04a (WASAPI) wasapi_write now one function, no more leaf function calls 2024-09-10 04:45:28 +02:00
libretroadmin
59ddb6731f Refactor WASAPI driver
- Use flags instead of bools
- Rewrite wasapi_write function
2024-09-10 04:12:10 +02:00
libretroadmin
b8391e233f * PATH_MAX_LENGTH redefined from 4096 to 2048
* Massive reduction in heap space allocation, going from settings struct
264kb to 119Kb
* Use NAME_MAX_LENGTH for base paths/names, etc
* Use DIR_MAX_LENGTH for directory sizes
2024-09-09 05:47:32 +02:00
Eric Warmenhoven
abffbb95d4
Allow compiling SDL2 drivers using griffin (#16843) 2024-08-06 17:03:36 -07:00
libretroadmin
afc9cb509a CXX_BUILDFIX buildfixes 2024-07-20 19:42:45 +02:00
libretroadmin
38f278519c Remove some header includes 2024-06-16 21:37:46 +02:00
libretroadmin
1d47d24b5f (audio/common) Fix header includes 2024-06-15 16:55:01 +02:00
libretroadmin
8ef14e53b6 audio_driver_mixer_extension_supported - don't use string_list 2024-06-15 03:55:44 +02:00
libretroadmin
55b4ceec70 (WASAPI) WASAPI settings did not show up anymore 2024-06-13 03:53:20 +02:00
Mats
a0208dd56c (WASAPI) Only write when running and fix deadlock 2024-06-04 13:26:08 -05:00
sonninnos
5e79dd4569
Bring back audio toggling on menu toggle (#16467) 2024-04-25 10:10:39 -07:00
libretroadmin
a4212061d4 Cleanup some unused variables 2024-04-06 20:12:15 +02:00
libretroadmin
f0cc87189c wasapi_select_device_format - cleanup 2024-04-06 19:01:12 +02:00
libretroadmin
a0dc153508 Fix C89_BUILD 2024-04-06 18:52:52 +02:00
sonninnos
aa1d47ad0f
(WASAPI) Buffer cleanups (#16057) 2023-12-28 18:56:28 -08:00
zengwei2000
df05f6e0eb
fix the Memory leak: psp (#16016)
fix the Memory leak: psp

Signed-off-by: zengwei zengwei1@uniontech.com

Signed-off-by: zengwei zengwei1@uniontech.com
2023-12-20 16:24:35 -08:00
sonninnos
598a0c0d37
(WASAPI) Shared buffer refactor + cleanup (#15929) 2023-11-19 08:44:25 -08:00
sonninnos
7661bde711
Count audio samples in stats when rate control is disabled (#15669) 2023-09-05 05:35:57 -07:00
sonninnos
eb0124d6d7
(WASAPI) More logging cleanups (#15619) 2023-08-18 15:33:47 -07:00
libretroadmin
0a96f9595c Explicit typecasts to bools for flags 2023-08-16 04:18:55 +02:00
libretroadmin
cb0653137f Style nits/cleanups 2023-08-16 02:40:59 +02:00
libretroadmin
bd7a0f7f0a Explicit typecast to bool for some flag to bool conversions 2023-08-16 00:16:03 +02:00
libretroadmin
40a0ced947 Be consistent with frontend_driver_get_core_extension - core extension
var should at most be 16 chars big, make only one exception once
2023-08-15 15:01:57 +02:00
libretroadmin
af03e555d6 Fix - should look for these headers in system directories 2023-08-14 23:39:15 +02:00
libretroadmin
c8e6506687 Fix --disable-menu errors 2023-08-14 23:36:19 +02:00
sonninnos
9af0d5f5ef Remove microphone driver disabled logging 2023-07-25 19:47:09 +02:00
Ethan O'Brien
71fe2624d2 Cleanup 2023-07-14 21:24:15 +02:00
Ethan O'Brien
5a1f20a999 Cleanup 2023-07-14 21:24:15 +02:00
Ethan O'Brien
e5c0ab17e4 Make openal default audio driver 2023-07-14 21:24:15 +02:00
Eric Warmenhoven
280dcb32f9 Fix several warnings 2023-07-02 05:46:45 +02:00
sonninnos
5f237a8ac6 Microphone logging cleanup 2023-06-29 13:55:28 +02:00
sonninnos
d6d0195060 Menu sounds corrections 2023-06-18 22:39:09 +02:00
LibretroAdmin
244c86f661 Revert "Frame limiting improvements"
This reverts commit c723710c90f15147dae62ae2237f4c7ccc87db45.
2023-06-18 19:36:59 +02:00
sonninnos
c723710c90 Frame limiting improvements 2023-06-18 18:58:37 +02:00
Jesse Talavera-Greenberg
d3d3207214 Apply some compiler-specific hacks to resolve compiler errors
- Make the existing _WIN32_WINNT redefinition contingent on MinGW
- Define a typedef for EDataFlow on MSVC
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
7d2256f92c Silence a warning 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
082cefa133 Add IID_IAudioCaptureClient
- Its absence could cause linker errors in MSVC
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
3599b3e675 Fix a compiler error
- A use of mmdevice_list_new was not updated to reflect its changed signature
2023-06-18 08:38:53 +02:00
sonninnos
610207dcfd
Menu sounds fixes (#15384) 2023-06-15 21:36:20 +02:00
libretroadmin
e9387193d5 Some style nits 2023-06-15 14:05:06 +02:00
libretroadmin
723f54b713 (common wasapi) Small cleanups, always have a last return value 2023-06-15 14:02:14 +02:00
libretroadmin
ab7d4e1aec Need to add retro_common_api.h to this header file if you're going to
use RETRO_BEGIN_DECLS/RETRO_END_DECLS
2023-06-15 13:56:57 +02:00
libretroadmin
246cceeb27 Silence more signedness warnings 2023-06-14 19:51:31 +02:00
sonninnos
c8b6f7fcd5
(WASAPI) Don't reset OS mixer volume in shared mode (#15369) 2023-06-13 07:52:52 +02:00