Commit Graph

208 Commits

Author SHA1 Message Date
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
twinaphex efacf637db Cleanup 2017-05-16 23:12:03 +02:00
twinaphex c898ef1d6d Attempt to copy over audio mixer data 2017-05-15 01:28:46 +02:00
Twinaphex 2fc45fb5ac Merge pull request #4914 from leiradel/master
Pass the correct structure to the callback
2017-05-14 23:32:25 +02:00
Andre Leiradella eb08a3dbef Pass the correct structure to the callback 2017-05-14 22:29:52 +01:00
twinaphex dd4146e302 Try to write initial implementation of audio mixer task 2017-05-14 23:12:27 +02:00
twinaphex c78ce113b4 CXX_BUILD buildfix 2017-05-14 03:29:26 +02:00
twinaphex e378b7053d Update 2017-05-13 17:55:29 +02:00
twinaphex acf7c681b4 Change to calloc 2017-05-13 07:56:44 +02:00
twinaphex 19db4f63a7 Take out filestream from audio_mixer.c 2017-05-13 07:53:42 +02:00
twinaphex 18f06e177e Silence Coverity warning 2017-05-08 22:40:19 +02:00
twinaphex 138a12d5e1 Cleanups 2017-05-08 21:24:14 +02:00
twinaphex efd0c991a6 Refactor audio_mixer_play 2017-05-08 20:44:25 +02:00
twinaphex a29e416be8 Another cleanup to wav2float 2017-05-08 20:37:12 +02:00
twinaphex 6766a62300 Cleanups 2017-05-08 20:35:02 +02:00
twinaphex bd36b0a968 (audio_mixer.c) Some refactors 2017-05-08 20:27:13 +02:00
twinaphex fec24bd47b Cleanup rwav 2017-05-08 18:45:37 +02:00
twinaphex de6e138d15 (audio_mixer.c) Cleanups 2017-05-08 18:37:31 +02:00
twinaphex 4a7c81b353 Cleanup wav2float - add some suggestions for leiradel here 2017-05-08 18:30:15 +02:00
twinaphex 0411aba219 (audio_mixer.c) Cleanups 2017-05-08 18:11:09 +02:00
twinaphex b4782d9a51 (audio_mixer.c) Small refactors 2017-05-08 05:59:45 +02:00
twinaphex 5245590bae (audio_mixer.c) Prevent null pointer dereference 2017-05-08 05:55:20 +02:00
twinaphex 6951111459 (libretro-common) Cleanups 2017-04-21 20:53:07 +02:00
twinaphex dd517f4660 Try to avoid directly calling strcmp 2017-04-21 13:56:15 +02:00
twinaphex 1274092fdd Move audio_mixer code to libretro-common 2017-03-22 03:00:21 +01:00
twinaphex cf82bdbebd Get rid of more implicit memsets 2017-03-05 22:24:35 +01:00
Twinaphex 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex ca2716eef7 Add DONT_WANT_ARM_OPTIMIZATIONS 2017-02-25 02:27:47 +01:00
Twinaphex 2dfb9b9638 Revert "Attempt to not use this codepath for arm64"
This reverts commit a16ba84502.
2017-02-25 02:15:26 +01:00
twinaphex a16ba84502 Attempt to not use this codepath for arm64 2017-02-25 00:28:23 +01:00
twinaphex 4403734d97 (audio_mix.c) Cleanups 2017-02-22 02:04:28 +01:00
twinaphex 31bf313a4f (libretro-common) Fix resource leak 2017-02-21 20:25:25 +01:00
twinaphex f35e521fd8 Prevent i variable being uninitialied 2017-01-31 18:47:33 +01:00
twinaphex 61d67613fb Buildfixes for ARM NEON 2017-01-31 07:58:58 +01:00
twinaphex ed3d75738c Simplify audio conversion code 2017-01-31 07:33:58 +01:00
twinaphex 6732446ca4 Avoid warnings 2017-01-30 19:12:28 +01:00
twinaphex 7a02876999 (sinc_resampler.c) More cleanups 2017-01-30 19:10:52 +01:00
twinaphex 26ebdb1056 More cleanups 2017-01-30 18:48:29 +01:00
twinaphex 73acd4aa0f (sinc_resampler.c) Do away with function pointer 2017-01-30 18:45:37 +01:00
twinaphex cdb45a38d3 Refactor code - do away with sinc_resampler_common 2017-01-30 18:43:09 +01:00
twinaphex 21508003c9 Create sinc_resampler_common 2017-01-30 18:15:41 +01:00
twinaphex 544c7a3c92 Solve warnings 2017-01-28 00:28:11 +01:00
Brad Parker 9c9fc5b765 16-bit samples don't need conversion from 8-bit 2017-01-27 11:12:45 -05:00
Brad Parker d7aaab7a33 fixes 2017-01-26 21:20:59 -05:00
Brad Parker 9cf4562f26 fix memory allocation 2017-01-26 18:46:50 -05:00
Brad Parker 6a79a81e4d allocate enough memory for resampler, always put two channels into buffers 2017-01-26 00:59:53 -05:00
Brad Parker f8ad1c6622 use aligned memory buffers 2017-01-25 17:30:15 -05:00
Brad Parker 4fae51edcb initial resampling wav loader 2017-01-25 01:28:48 -05:00
twinaphex e3842d4169 Make audio_mix.c C89-compatible 2017-01-24 16:59:03 +01:00
twinaphex 669599cfd7 Add audio_mix to libretro-common 2017-01-24 00:29:40 +01:00
twinaphex 64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex 99421b42d5 Update Makefile 2017-01-09 17:47:25 +01:00
twinaphex b89ec1369f Rename rarch_resampler_* to retro_resampler_* 2017-01-09 12:45:51 +01:00
twinaphex 03adb6fd3a Rename rarch_dsp_* to retro_dsp_* 2017-01-09 12:41:59 +01:00
twinaphex 92f9ad0714 Move audio DSP filters to libretro-common 2017-01-09 12:30:11 +01:00
twinaphex d3b818a16a Move dsp_filter to libretro-common 2017-01-09 12:22:29 +01:00
twinaphex 0c9a831bf3 (libretro-common) Cleanup 2016-12-12 14:09:58 +01:00
twinaphex 08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00