Commit Graph

208 Commits

Author SHA1 Message Date
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
twinaphex 076fddd9d9 (Resampler) Turn this void 2020-02-03 00:16:16 +01:00
twinaphex cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
orbea 8d6b70c22c Don't use uname -a. 2020-01-15 06:27:42 -08:00
twinaphex 261f1b72d4 Remove separate null_resampler.c file and move it into audio_resampler.c 2020-01-07 23:03:23 +01:00
twinaphex 3d950b2324 Optimize audio_mix_volume_SSE 2020-01-04 14:40:37 +01:00
twinaphex d88e37a2f1 (Audio resampler/Sinc) Don't do kaiser window check inside hot loop 2020-01-03 22:12:11 +01:00
twinaphex 836fb17d0d (libretro-common) Update libretro-common 2019-10-17 01:48:41 +02:00
bmaupin 3047c55121 Fix PSP audio conversion code
Fixes https://github.com/libretro/QuickNES_Core/issues/72
2019-09-06 21:02:37 -04:00
twinaphex 0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
twinaphex 660d0c8de9 Remove mutexes - should hopefully fix dolphin/reicast threaded
again
2019-02-12 03:55:08 +01:00
Themaister 5e7513ad60 Sinc: memset the resampler buffer.
No idea how this survived asan and valgrind over these years ...
2019-02-05 23:35:39 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Brad Parker 90db5e7e27 Implement in-menu sound effects 2019-01-27 11:22:16 -05:00
Brad Parker cb4a87d6b1 fix system menu sound memory leaks in mod mixing 2019-01-19 00:46:54 -05:00
Brad Parker ae397f2ae5 fix system menu sound memory leaks in flac mixing 2019-01-18 21:03:47 -05:00
Brad Parker 32313b398b fix system menu sound memory leaks in mp3 mixing 2019-01-18 21:00:41 -05:00
Brad Parker 95a7b8c29b fix system menu sound memory leaks in ogg mixing 2019-01-18 20:02:24 -05:00
orbea e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco José García García 19549ddccf [ORBIS] Fix __assert 2018-12-27 20:18:53 +01:00
Rob Loach c7e6eda438
libretro-common: Restore libretro-common/audio/dsp_filters/configure 2018-08-30 22:23:05 -04:00
twinaphex 7c22f265b8 Update libretro-common 2018-08-31 02:28:20 +02:00
twinaphex a6941fb4ed Initial work done on VS2017 solution for Android 2018-08-14 16:02:31 +02:00
Twinaphex fd11b205da Silence bunch of warnings 2018-06-21 07:52:01 +02:00
twinaphex a3a047b8ec Fix Coverity warning 2018-05-29 22:01:05 +02:00
twinaphex 768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex 0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex 5aeab54ab7 (Audio mixer) Ability to individually set volume per stream 2018-04-30 17:51:01 +02:00
twinaphex 64f31f1ddd Update libretro-common 2018-04-28 13:52:54 +02:00
twinaphex faa99bd323 Start adding FLAC hooks 2018-04-27 23:45:06 +02:00
twinaphex 1f2ef858ab Update libretro-common 2018-04-27 23:12:24 +02:00
twinaphex 2178f7b8ce Update libretro-common 2018-04-25 10:21:26 +02:00
twinaphex e5d90eebd7 Updates to libretro-common 2018-04-21 06:29:56 +02:00
twinaphex 74d4bc80d9 (libretro-common) Updates 2018-04-19 09:43:21 +02:00
twinaphex be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex 1751f4a0af Make it possible to read bigger files by replacing ssize_t with int64_t
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
Twinaphex 08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
twinaphex f10b60f14f Don't use NEON codepaths for iOS - ever since arm64 this has become
problematic
2018-01-24 07:40:09 +01:00
twinaphex 634da308aa Cleanups 2018-01-24 05:40:53 +01:00
Alcaro 7fd4d5013d C89 2017-12-31 23:46:11 +01:00
twinaphex b9248cf3af Start preparing runtime toggleable resampler quality settings 2017-12-31 20:55:26 +01:00
twinaphex 0dd2f075fe Refactor sinc resampler so that we can set resampler quality
at runtime
2017-12-31 20:40:04 +01:00
twinaphex 3090e85064 Refactor sinc_resampler.c 2017-12-31 18:23:27 +01:00
twinaphex 20122d21ee CXX_BUILD buildfix 2017-12-30 08:12:38 +01:00
twinaphex 56f9d0a7cf Cleanup 2017-12-20 05:27:20 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 360a3686a0 Update include dirs 2017-11-06 05:23:53 +01:00
Rob Loach 3144c38e7d
Clean up deps file includes in audio_mixer.h
The deps folder is already in the include path. This allows deps to be defined elsewhere.
2017-11-04 17:05:39 -04:00
twinaphex 7cf1793801 Silence some static code analysis warnings 2017-10-11 21:46:18 +02:00
twinaphex d10de20bff Start compiling Griffin as C for 360 - C89 fixes 2017-10-03 04:11:41 +02:00
twinaphex e979eece1c Updates 2017-08-08 18:45:56 +02:00
Romain Tisserand 5a85c53174 Fix MOD support not mixing core provided audio stream 2017-08-08 12:19:24 +02:00
twinaphex c426f68379 C89 buildfix 2017-08-06 16:41:09 +02:00
twinaphex 32234b44d3 Prevent dereference after null check warning by Coverity 2017-08-05 16:42:28 +02:00
twinaphex 2aa095aa4b Fix some Coverity warnings 2017-08-05 16:24:33 +02:00
twinaphex 449a33cf17 buildfix 2017-08-05 15:24:15 +02:00
Romain Tisserand 05c7bdedbe Proper fix for MOD support 2017-08-05 12:00:20 +02:00
twinaphex 24b3705fa1 Some more build fixes 2017-08-05 00:03:58 +02:00
twinaphex aa4d68760b Buildfixes 2017-08-04 23:53:38 +02:00
Romain Tisserand d865c4cdcf First working prototype. 2017-08-04 16:09:53 +02:00
Romain Tisserand cbe2d9a941 Preliminary MOD/S3M/XM support through ibmx library (part of micromod repository) 2017-08-04 15:05:29 +02:00
Rob Loach 2a0e34d66e
Add ./configure to audio and video filters 2017-07-27 22:20:56 -04:00
Rob Loach afa01c5421 Add make install command for the audio filters 2017-07-25 09:19:51 -04:00
twinaphex cdf7a403ea Add audio mixer mute enable 2017-06-08 23:53:24 +02:00
twinaphex cd3276c554 Add volume override for audio_mixer_mix 2017-06-08 22:03:11 +02:00
twinaphex b610d034ae (sinc_resampler.c) Cut down on ifdef party 2017-06-07 03:09:23 +02:00
twinaphex 34b5d0025b Get rid of implicit declaration warnings 2017-06-07 03:02:50 +02:00
Andre Leiradella c72d47b9d0 Remove restriction of stereo-only OGGs 2017-05-24 21:16:19 +01:00
Twinaphex 450ab7de40 Merge pull request #4951 from leiradel/master
* Add a mutex to prevent issues if audio_mixer_mix is used in a diffe…
2017-05-21 15:26:53 +02:00
Andre Leiradella a088113f4c Use HAVE_THREADS around the mutex 2017-05-21 11:57:10 +01:00
Andre Leiradella 0c8f9663f2 * Add a mutex to prevent issues if audio_mixer_mix is used in a different thread
* Use free instead of memalign_free to free the OGG data in audio_mixer_destroy (ideally this should be a responsibility of the caller, just like with the WAV case)
* Re-use the voice in audio_mixer_stop
2017-05-21 00:23:07 +01:00
aliaspider 47d0cb053e fix resampler_sinc_process_c. 2017-05-20 23:12:56 +01:00
twinaphex 4ed3e750d4 sinc_resampler - cleanups - set process function pointer
dynamically
2017-05-20 14:46:53 +02:00
twinaphex 5343648dc9 Start creating state machien for audio mixer streams 2017-05-18 06:16:16 +02:00