Commit graph

231 commits

Author SHA1 Message Date
Bobby Smiles
bb48c70364 Avoid void pointer arithmetic.
GCC is tolerant for that, but not msvc.
2017-11-02 00:44:47 +01:00
Bobby Smiles
e2b04deffa Fix primary buffer overflow message. 2017-11-02 00:30:21 +01:00
Bobby Smiles
4edbe8bc17 Add warning on underrun. 2017-11-02 00:30:18 +01:00
Bobby Smiles
7f4d849c5d Add checks for number of generated resampled values in speex. 2017-11-02 00:29:16 +01:00
Bobby Smiles
7226b61cb9 Remove unneeded memset. 2017-11-02 00:29:16 +01:00
Bobby Smiles
64be9eda6e Minor formatting edits. 2017-11-02 00:28:04 +01:00
Bobby Smiles
932563a8ea Fix audio crackling introduced in commit b94cbf656f
Apparently using directly the pointer returned by cbuff_head leads to
audio "cracks" with better resamplers whereas adding cbuff.head inside
each memcpy desn't.
2017-11-02 00:23:05 +01:00
Bobby Smiles
aef8225d14 Fix PauseAudio regression introduced in commit b94cbf656f 2017-11-02 00:11:40 +01:00
bsmiles32
2879e517fa Merge pull request #20 from bsmiles32/build_fixes
Disable speex/src when their libraries are not found
2017-10-13 19:37:43 +02:00
Bobby Smiles
c35d803c4b Disable speex/src when their libraries are not found 2017-10-13 15:20:07 +02:00
Richard Goedeken
d763643644 Merge pull request #19 from bsmiles32/refactorings
Refactorings
2017-10-12 19:45:24 -07:00
Bobby Smiles
8edfc66b43 Fix msvc project file. 2017-10-12 12:12:31 +02:00
Bobby Smiles
2cacce90bb Extract sdl_backend in its own module. 2017-10-12 12:09:02 +02:00
Bobby Smiles
a7c8d4123d Extract circular buffer logic. 2017-10-12 10:01:26 +02:00
Bobby Smiles
b94cbf656f Extract sdl_backend data 2017-10-12 09:35:22 +02:00
Bobby Smiles
8847176ac0 Extract audio synchronization logic. 2017-10-12 05:02:30 +02:00
Bobby Smiles
9c48b7f158 Extract resamplers from main module.
Refactor resamplers in such a way that main module only interact with
them through a resampler_interface which is agnostic to implementation
details.

Also, for all resamplers, internal state is dynamically allocated, and
no longer relies on global variables.
2017-10-12 04:11:31 +02:00
Bobby Smiles
109e2fb372 Remove extra spaces. 2017-10-11 15:30:04 +02:00
Dorian Fevrier
521d1acf3a Merge pull request #17 from charlemagnelasse/travis-container
Use faster container based Travis CI
2017-09-13 11:08:41 +02:00
Charlemagne Lasse
83c2854ba0 Use faster container based Travis CI 2017-09-01 09:57:14 +02:00
Charlemagne Lasse
c410867855 Let travis handle the package installation directly
The before_install  currently fails on Travis CI with:

    The following packages have unmet dependencies:
     libsdl2-dev : Depends: libegl1-mesa-dev
                   Depends: libgles2-mesa-dev
    E: Unable to correct problems, you have held broken packages.

This can currently only be solved by using the apt addon to install
packages.
2017-09-01 09:56:02 +02:00
bsmiles32
9261b34d54 Merge pull request #16 from loganmc10/sync
Allow audio/video sync to be configured, default to off
2017-05-23 16:43:26 -06:00
Logan McNaughton
dd4c930f1e Allow audio/video sync to be configured, default to off 2017-04-25 22:17:44 -06:00
Richard Goedeken
5e157821e6 Merge pull request #15 from loganmc10/patch-1
Use resampler if available
2017-04-05 23:14:41 -07:00
Logan McNaughton
83b26884c2 Use resampler if available 2017-04-03 16:21:46 -06:00
Richard Goedeken
c8680df526 Merge pull request #14 from fprimex/fprimex-macos-version-min
bump macosx-version-min to 10.6 for SDL2.0.5
2017-03-16 23:57:10 -07:00
Brent Woodruff
7f94539a5d bump macosx-version-min to 10.6 for SDL2.0.5 2017-03-16 22:45:18 -04:00
Richard Goedeken
d9b7e73662 Merge pull request #13 from charlemagnelasse/master
Use Ubuntu Trusty as base system for Travis CI
2016-09-01 18:04:27 -07:00
Charlemagne Lasse
8f1408525d Use Ubuntu Trusty as base system for Travis CI 2016-09-01 20:23:59 +02:00
Richard Goedeken
7fecb537cc change VS2013 project files to build with the XP-compatible vc120 toolset, so the resulting binaries will run on pre-vista machines 2016-07-13 20:04:06 -07:00
Richard Goedeken
e859e1cfbb Merge pull request #12 from Gillou68310/x64
Added x64 configuration to VisualStudio2013 project file
2015-09-12 21:52:52 -07:00
Richard Goedeken
8a49326b00 github ticket #617: decrease default primary audio buffer target level, in order to reduce audio latency 2015-09-12 20:02:22 -07:00
Gillou68310
b5955b634a Added x64 configuration to VisualStudio2013 project file 2015-08-28 16:30:02 +02:00
Richard Goedeken
280066dbd1 Merge pull request #11 from bentley/openbsd
Remove unnecessary OpenBSD warning.
2015-06-08 06:30:56 -07:00
Anthony J. Bentley
7a763381cd Remove unnecessary OpenBSD warning. 2015-06-08 01:42:29 -06:00
Richard Goedeken
d6388319be Merge pull request #10 from krnlyng/master
bug workaround (volume does not follow system volume on jolla phone)
2015-05-07 23:05:23 -07:00
Franz-Josef Haider
625c938228 bug workaround (volume does not follow system volume on jolla phone) https://bugs.maemo.org/show_bug.cgi?id=7159 2015-05-07 09:16:16 +02:00
Richard Goedeken
0e64ba78e3 update text files and version number for upcoming 2.5 release 2015-04-26 12:23:24 -07:00
Richard Goedeken
1c5e40f88d Merge pull request #9 from conchurnavid/includes
Cleanup includes order and add missing includes
2015-03-21 21:34:08 -07:00
Conchúr Navid
b2f4ad0a74 Add missing includes and forward declarations 2015-03-21 13:47:40 +01:00
Conchúr Navid
a3d94d32c9 Sort the includes based on type and names 2015-03-21 10:58:40 +01:00
Conchúr Navid
54689d5f84 Fix executable bits of files 2015-03-21 10:53:38 +01:00
Richard Goedeken
088bd63908 added project/solution file for Visual Studio 2013. removed older MSVS project files. fix code compatilibity problems with MSVC 2015-02-22 07:13:34 -08:00
Richard Goedeken
0e7da995b3 Merge pull request #8 from Nebuleon/build-changes
Drop architecture checks for cross-platform project
2015-02-01 14:17:27 -08:00
Nebuleon Fumika
45719a8ac1 Unix Makefile: Discard unnecessary architecture checks
Unlike the Mupen64Plus Core, which is sensitive to the architecture
it's compiled for due to its just-in-time compilers, this project does
not require architecture-specific glue code, only operating system
checks to load dynamic libraries and the presence of a well-behaving
port of SDL on the platform.

M64P_BIG_ENDIAN is not used for any decisions in this plugin, either.
Delete the big-endian processor checks.
2015-01-26 09:43:10 +00:00
Richard Goedeken
b67e5e818b Merge pull request #7 from Gillou68310/master
Added project file for MSVC2010
2015-01-07 22:55:29 -08:00
Richard Goedeken
a06cfdc42c Merge pull request #6 from mupen64plus-ae/vanilla
Merge Android Edition history
2015-01-07 22:42:56 -08:00
Gillou68310
3bcd8b0e29 Added project file for MSVC2010 2015-01-07 15:09:35 +01:00
littleguy77
863fb3c34a Remove Android Edition customizations.
This customization was originally in the upstream source to eliminate
audio distortion:
522e27f10c

This was later removed, but the change was never propagated downstream:
cc74b18d91
2015-01-01 09:55:41 -05:00
littleguy77
24f7993ebd build: Remove Android makefile. 2014-12-18 22:07:34 -05:00