twinaphex
fb2da8e8fd
Backport 42b3ebe12a
2022-04-05 07:32:22 +02:00
Jamiras
f63c11ebaf
free audio voices properly
2022-03-26 07:58:31 +01:00
twinaphex
460f5e745d
Silence some MSVC 2019 code analysis warnings
2022-03-05 14:39:56 +01:00
Christopher Snowhill
b5504dda99
Implement sinc kaiser NEON function ( #13452 )
2022-01-08 04:21:51 +01:00
Rob Loach
fb6dfd345f
(Audio Mixer) audio_mix.c does not require stdio.h ( #13441 )
...
This change removes the inclusion of stdio.h as it's not needed in this file.
2022-01-04 13:21:45 +01:00
jdgleaver
67eb42a8c2
(Audio Mixer) Increase sample buffer padding ( #13300 )
2021-11-30 14:52:25 +01:00
jdgleaver
516dcb34d9
(Audio Mixer) Pad sample buffers to prevent potential heap-buffer-overflows when resampling (fixes crash when using 30 kHz menu audio files) ( #12987 )
2021-09-15 01:17:45 +02:00
twinaphex
90775e7306
Silence warnings/errors
2021-09-13 20:30:22 +02:00
twinaphex
f905012376
Simplify float_to_s16/s16_to_float functions for ARM NEON ASM codepath
2021-09-04 00:39:49 +02:00
twinaphex
6d1c0e96a3
Simplify sinc NEON code
2021-09-04 00:35:45 +02:00
Autechre
9a5f4602cc
Add intrinsic NEON versions for float_to_s16/s16_to_float ( #12933 )
...
* Add intrinsic NEON versions for float_to_s16/s16_to_float courtesy
of davidgfnet
* Define -DDONT_WANT_ARM_OPTIMIZATIONS for resampler sinc - this should
default to intrinsic versions
* Default to ARM NEON intrinsic codepath and make the ASM codepaths
optional by defining HAVE_ARM_NEON_ASM_OPTIMIZATIONS
* (Pkg/apple/Android) Take out ASM files being compiled in
2021-09-04 00:25:21 +02:00
jdgleaver
547f04b894
Fix menu sounds (audio mixing) when using the 'sinc' resampler with quality lower than 'normal'
2021-09-01 15:55:58 +01:00
twinaphex
9a97eb47ad
Fix typos
2021-08-21 19:11:21 +02:00
twinaphex
ca26e50050
(sinc) Add non-ASM ARM NEON intrinsics codepath for Sinc resampler
2021-08-21 18:52:20 +02:00
twinaphex
b620325714
Rename HAVE_ARM_NEON_OPTIMIZATIOn to HAVE_ARM_NEON_ASM_OPTIMIZATIONS,
...
rename DONT_WANT_ARM_OPTIMIZATIONS to DONT_WANT_ARM_NEON_OPTIMIZATIONS
2021-08-21 18:00:59 +02:00
twinaphex
6223ba47fd
Bring back these tiny optimizations from foobar2k
2021-08-15 22:54:21 +02:00
twinaphex
1906a741c2
Rollback sinc resampler changes - themaister wasn't sure if these were
...
actual optimizations
2021-08-15 22:45:59 +02:00
twinaphex
ac4adabeb9
Silence some unused variable warnings
2021-08-12 17:00:24 +02:00
twinaphex
93e5fc60af
Silence some warnings
2021-08-08 22:14:50 +02:00
twinaphex
3f00d2f041
(Resampler) Cleanups
2021-06-22 01:14:32 +02:00
twinaphex
7492f5d60c
Revert "Add HAVE_GRIFFIN fallback for now"
...
This reverts commit dc50ff584e
.
2021-06-11 12:05:59 +02:00
twinaphex
bd9c35d379
Revert "Rollback changes for now until we can get this compiling on MSVC 2005 on"
...
This reverts commit 08481e2a68
.
2021-06-11 12:05:48 +02:00
twinaphex
08481e2a68
Rollback changes for now until we can get this compiling on MSVC 2005 on
...
the commandline (it builds with the VS solution file but not CLI)
2021-06-09 16:39:43 +02:00
twinaphex
dc50ff584e
Add HAVE_GRIFFIN fallback for now
2021-06-09 16:33:32 +02:00
Autechre
74d85e3269
Backport optimizations from foobar2K
2021-06-09 06:05:14 +02:00
twinaphex
6bba672d60
Compile video and audio filters as ARM64 architecture
2021-02-22 08:11:50 +01:00
twinaphex
c01df07f3d
Fix ARM NEON detection
2021-02-16 23:02:06 +01:00
twinaphex
c2a73a6921
remove unused variables
2020-12-09 22:06:02 +01:00
SimpleTease
8017ecd2b8
ibxm: update to 20191214
...
- Fix music playback (sample skipping)
- Add more platforms
- Fix Mr. Boom music
2020-11-21 20:30:19 +00:00
twinaphex
a2a58147e7
Update libretro-common
2020-10-31 06:22:10 +01:00
twinaphex
0ad9175d77
(sinc resampler) We don't need to keep fetching these variables
...
within this inner loop
2020-10-03 21:20:32 +02:00
Alcaro
c7669fdce5
Fix --enable-debug build
...
libretro-common/audio/audio_mixer.c:195:32: error: unknown type name ‘rwav_t’
static bool wav_to_float(const rwav_t* wav, float** pcm, size_t samples_out)
^~~~~~
plus about 500 errors when trying to use that struct
2020-09-18 21:45:32 +02:00
twinaphex
ce185d8be6
(DSP IIR) Prevent '-Wmaybe-uninitialized' warnings
2020-08-25 13:21:22 +02:00
twinaphex
dff52d8688
Revert "(audio conversion) Optimize array accesses"
...
This reverts commit 8613ece7f5
.
2020-08-19 18:18:02 +02:00
twinaphex
8613ece7f5
(audio conversion) Optimize array accesses
2020-08-19 02:46:54 +02:00
twinaphex
f48dc0ff5b
Reorder structs, alignment
2020-08-15 20:38:31 +02:00
twinaphex
023fd4f330
Alignment changes
2020-08-14 18:19:57 +02:00
Jamiras
92e61ccb5c
move temporary buffer off stack
2020-07-29 19:54:48 -06:00
twinaphex
98516280ad
(s16_to_float) Silence aggressive-loop-optimization undefined
...
behavior because of potential signed integer overflow
2020-07-23 06:35:30 +02:00
twinaphex
69756ebd93
Add HAVE_NEAREST_RESAMPLER ifdef
2020-06-30 21:45:05 +02:00
twinaphex
2c62a10d6c
- Fix codepaths for compiling without HAVE_RWAV
...
- Add back HAVE_BSV_MOVIE
2020-06-30 18:08:49 +02:00
twinaphex
a2f2a882cb
Cleanups
2020-06-29 21:06:21 +02:00
twinaphex
a833c5f4a6
Cleanups in audio mixer code
2020-06-28 23:24:00 +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
fa50695b89
Cleanups
2020-06-26 19:25:53 +02:00
twinaphex
ac8985a38f
Buildfix for OSX PPC
2020-06-08 13:45:32 +02:00
twinaphex
a1752db25a
Put this behind DEBUG ifdef
2020-05-24 20:49:58 +02:00
twinaphex
dce610747b
Update audio resampler
2020-02-07 07:53:23 +01:00
twinaphex
5ff4ee96e4
(Resampler) More buildfixes
2020-02-03 03:33:50 +01:00
twinaphex
e1603c0f44
(Resampler) Cleanups
2020-02-03 01:59:24 +01:00