07519a6b95
Removed a bunch of unnecessary #ifdefs.
Ryan C. Gordon
2017-02-26 00:40:04 -05:00
a366c35f37
audio: run the audio callback even if device was lost.
Ryan C. Gordon
2017-02-26 00:12:33 -05:00
5728cb2025
audio: Make sure the disk and dummy targets are the last ones we try to init.
Ryan C. Gordon
2017-02-26 00:10:02 -05:00
e07e446a3f
WinRT: removed Windows 8.0 from build-bot + NuGet package creation scripts
David Ludwig
2017-02-25 21:23:12 -05:00
b13c443cd8
WinRT: removed buildbot debug code, pending further research
David Ludwig
2017-02-24 20:49:14 -05:00
f7bfa3b79e
WinRT: more buildbot debug code
David Ludwig
2017-02-24 20:19:28 -05:00
ecb1eb823e
WinRT: added code to help debug a buildbot error
David Ludwig
2017-02-24 19:59:57 -05:00
0e7530b057
cmake: add WASAPI audio target to the build (thanks, Martin!).
Ryan C. Gordon
2017-02-23 22:38:04 -05:00
71a4e8ed13
Stop CoreAudio from doing expensive audio rate conversion
Sam Lantinga
2017-02-23 12:10:02 -08:00
a9762551cd
Added config for the Razer Wildcat on Mac OS X
Sam Lantinga
2017-02-20 11:02:35 -08:00
43dbbd6375
Updated iOS fat build
Sam Lantinga
2017-02-20 10:55:49 -08:00
94754c3968
Updated config headers to override the base SDL_config.h if both are included
Sam Lantinga
2017-02-20 10:55:33 -08:00
dfa8fb3105
Fixed warnings if compiling loopwave programs with C++.
Philipp Wiesemann
2017-02-19 21:05:42 +01:00
9f8c1d779a
Updated library name in header file.
Philipp Wiesemann
2017-02-19 21:05:26 +01:00
cfcec57f42
Fixed comment.
Philipp Wiesemann
2017-02-19 21:05:09 +01:00
9428ff19a9
Added support for the Razer Wildcat on Linux
Sam Lantinga
2017-02-17 17:46:58 -08:00
0d647d35b0
Emscripten: implement custom cursors
Charlie Birks
2017-02-17 10:13:17 +00:00
33bddcfda2
Emscripten: refactor cursor handling
Charlie Birks
2017-02-17 10:13:12 +00:00
90e302d074
Remove link to emscripten tests Not updated since early port. Also stopped working when Dropbox stopped allowing HTML to be parsed.
Charlie Birks
2017-02-17 10:13:10 +00:00
613955b4f2
Emscripten: only update pixel ratio if HiDPI is enabled
Charlie Birks
2017-02-17 10:13:07 +00:00
e8677a1bd2
audio: Added basic WAVE_FORMAT_EXTENSIBLE support to .wav loader.
Ryan C. Gordon
2017-02-17 02:25:37 -05:00
4a0b287def
More HTTPS doc tweaks.
Ryan C. Gordon
2017-02-16 16:59:07 -05:00
8ade96ccc4
More HTTPS changes in the documentation.
Ryan C. Gordon
2017-02-16 16:52:03 -05:00
8ad131b78e
readme: more HTTPS changes.
Ryan C. Gordon
2017-02-16 13:55:12 -05:00
32f85a99d8
readme: correct webpage URL to use HTTPS.
Ryan C. Gordon
2017-02-16 13:30:34 -05:00
1ed41d6d0d
Patched to compile on Windows.
Ryan C. Gordon
2017-02-14 03:12:09 -05:00
6046fd4cb0
wasapi: Initial WASAPI support, for Windows Vista and later.
Ryan C. Gordon
2017-02-14 03:03:27 -05:00
c93bca489d
stdlib: Fixed crash on SDL_snprintf("%s", NULL).
Ryan C. Gordon
2017-02-14 02:49:08 -05:00
d1eb2d190d
thread: Don't use SetThreadDescription on WinRT right now.
Ryan C. Gordon
2017-02-13 17:05:14 -05:00
70c0400b12
windows: Try to unify all the GUID comparison code into a core helper function.
Ryan C. Gordon
2017-02-13 17:00:46 -05:00
e5fc93baca
audio: Don't wrap bootstrap declarations in preprocessor macros.
Ryan C. Gordon
2017-02-13 16:59:02 -05:00
ad9c702f6a
audio: SDL_AudioStream's *_sample_frame_size should be in bytes, not bits.
Ryan C. Gordon
2017-02-13 16:56:41 -05:00
175f1e8f4a
audio: Added a ThreadDeinit() method to match ThreadInit.
Ryan C. Gordon
2017-02-13 16:55:00 -05:00
886736a2c8
Fixed bug 3584 - Small stack size for audio callback thread
Sam Lantinga
2017-02-11 16:38:16 -08:00
cf31ea1478
Fixed bug 3583 - X11 touch device can be permanently lost
Sam Lantinga
2017-02-11 11:14:48 -08:00
06ccb71bcd
Make sure the memory barrier functions are always available, and now they are implemented on Android __ARM_ARCH_5TE__
Sam Lantinga
2017-02-10 11:21:15 -08:00
9171f71dbe
Fixed warning in Android build
Sam Lantinga
2017-02-10 09:41:16 -08:00
107c19daad
Log the error returned by XAudio2Create()
Sam Lantinga
2017-02-09 06:01:14 -08:00
8eee82cd84
Windows: Fixed warning about unused variable.
Philipp Wiesemann
2017-02-03 23:30:43 +01:00
33ff5bd148
Fixed typo in log message.
Philipp Wiesemann
2017-02-03 23:30:29 +01:00
8f78f5bb94
Fixed build on Apple TV
Sam Lantinga
2017-02-02 16:56:02 -08:00
710ae62a79
Remember XInput controllers that we've already seen, so when the raw device list changes we don't assign the old device to the new XInput userid. This isn't perfect, but at least we won't report the same device twice.
Sam Lantinga
2017-02-02 17:33:40 -08:00
da30992d47
Fixed bug 3577 - Can't set minimal size (message box appears instead) if maximal size wasn't declared (i.e. unlimited)
Sam Lantinga
2017-02-02 00:41:58 -08:00
3f83fce7c1
Fixed whitespace
Sam Lantinga
2017-01-31 13:30:35 -08:00
be28d7c88c
Added support for the Saitek Pro Flight X-56 Rhino
Sam Lantinga
2017-01-31 12:30:55 -08:00
6717a3d38d
Added support for the HOTAS Warthog throttle
Sam Lantinga
2017-01-31 12:23:29 -08:00
a156b0d994
Added the HOTAS Warthog as a flight stick
Sam Lantinga
2017-01-31 10:20:09 -08:00
800a72eb17
Switch stderr output to SDL_Log() so it shows up on Windows and mobile devices
Sam Lantinga
2017-01-31 10:19:56 -08:00
4e3fa7b9d4
Fixed compiler warning about comma at end of enum.
Philipp Wiesemann
2017-01-30 22:20:20 +01:00
52e9c42df9
Fixed Windows build
Sam Lantinga
2017-01-28 14:35:35 -08:00
869b7fe314
Fixed bug 3550 - No mouse move messages send while over the titlebar and windows edges
Sam Lantinga
2017-01-28 11:17:10 -08:00
c3eea703ee
Use a stronger X font definition for X11_MessageBox on UTF-8
R?mi Verschelde
2017-01-28 10:54:12 +01:00
0090a33805
Return an error if trying to set a window minimum size larger than the maximum size, or vice versa
Sam Lantinga
2017-01-27 21:16:38 -08:00
d02473682e
Sorted controller entries
Sam Lantinga
2017-01-27 18:06:50 -08:00
aa90b730b8
Add a mapping for Xbox Wireless Controllers running old firmware
Jessica Stokes
2017-01-26 21:25:05 -08:00
8fa9b57f75
windows: first shot at naming threads with SetThreadDescription().
Ryan C. Gordon
2017-01-27 20:50:30 -05:00
95ab9dc73c
Added Thrustmaster Wheel FFB entry to the list of wheels
Sam Lantinga
2017-01-27 06:05:50 -08:00
3c90a52aa7
Added an API to get the type of a connected joystick
Sam Lantinga
2017-01-27 05:59:58 -08:00
ae5e9a319b
Add gamecontrollerdb mapping for Xbox One S on Mac
Misty De Meo
2017-01-25 22:24:54 -08:00
ca89d9b593
Darwin: fix detection of Xbox One S controller
Misty De Meo
2017-01-25 22:22:05 -08:00
ede5c73484
Generalized the audio resampling hint for other resampling methods in the future
Sam Lantinga
2017-01-24 19:38:01 -08:00
47e2f4e950
audio: libsamplerate can't resample in-place; make space for a copy if needed.
Ryan C. Gordon
2017-01-24 20:30:48 -05:00
1b3327edd0
configure: report libsamplerate support status.
Ryan C. Gordon
2017-01-24 16:18:25 -05:00
c7f9dcb6fc
audio: Offer a hint for libsamplerate quality/speed tradeoff.
Ryan C. Gordon
2017-01-24 15:52:22 -05:00
5ea0c893cd
CMake: fixed logic error in setting -mfpmath=387.
Ryan C. Gordon
2017-01-24 12:20:41 -05:00
36cb05a8f8
configure.in: Check for sse3 too when setting -mfpmath=387.
Ryan C. Gordon
2017-01-24 12:20:12 -05:00
1da3a33773
audio: Fix static analysis concerns about a dead assignment.
Ryan C. Gordon
2017-01-24 10:09:29 -05:00
073ff7dea3
Added a note about aligning SDL_AudioCVT data.
Ryan C. Gordon
2017-01-24 00:55:41 -05:00
8f627c1cd8
audio: Make sure SDL_AudioStream's work buffer is 16-byte aligned, for SIMD.
Ryan C. Gordon
2017-01-24 00:51:33 -05:00
17dcee20c1
audio: Streams now resample in-place. Removed second allocated buffer.
Ryan C. Gordon
2017-01-24 00:17:40 -05:00
b5eeab779f
audio: allow stereo Sint16 resampling fast path in SDL_AudioStream.
Ryan C. Gordon
2017-01-24 00:08:24 -05:00
a80cb672e3
audio: Fixed off-by-one error in upsampling.
Ryan C. Gordon
2017-01-24 00:03:36 -05:00
dad07f960b
audio: Resampler now special-cases stereo and mono processing.
Ryan C. Gordon
2017-01-23 16:45:50 -05:00
8ce6ddf125
audio: Fixed incorrect pointer in SDL_ResampleCVT_si16_c2().
Ryan C. Gordon
2017-01-23 16:42:47 -05:00
ecdc6c1207
audio: Fixed copy/paste bug in float32->sint16/SSE2 scalar leftover code.
Ryan C. Gordon
2017-01-23 12:14:28 -05:00
4b8f354668
audio: Fix same bug as last commit, but for _mm_bslli_si128 vs _mm_slli_si128.
Ryan C. Gordon
2017-01-23 12:06:10 -05:00
fab4501811
audio: use _mm_srli_si128 instead of _mm_bsrli_si128.
Ryan C. Gordon
2017-01-23 12:02:02 -05:00
3594bf8eeb
audio: Wired up new SSE code to build system.
Ryan C. Gordon
2017-01-23 01:05:44 -05:00
202ab30c16
audio: Special case for resampling stereo AUDIO_S16SYS audio data.
Ryan C. Gordon
2017-01-22 20:27:48 -05:00
8855daac66
audio: Make the simple resampler operate in-place.
Ryan C. Gordon
2017-01-22 23:48:15 -05:00
64056e81cd
audio: Added SSE3 implementation of SDL_ConvertStereoToMono().
Ryan C. Gordon
2017-01-23 00:57:19 -05:00
a7f86f2fd2
audio: don't cast to double in SDL_ConvertStereoToMono().
Ryan C. Gordon
2017-01-22 20:18:59 -05:00
83454c821f
audio: removed conditional from simple resampler's inner loop.
Ryan C. Gordon
2017-01-20 16:26:24 -05:00
4f981df37f
Haiku: Fixed memory leak if creating framebuffer failed.
Philipp Wiesemann
2017-01-22 22:15:36 +01:00
330f2911c2
WinRT: Fixed typo in README.
Philipp Wiesemann
2017-01-22 22:15:24 +01:00
63e83a3127
Haiku: Removed unused variable.
Philipp Wiesemann
2017-01-21 22:01:17 +01:00
800a9e84f4
Fixed compiler warning about returning a value in a void function.
Philipp Wiesemann
2017-01-21 22:00:56 +01:00
5e78bc6474
Fixed copyright symbol in testgles2 program.
Philipp Wiesemann
2017-01-21 22:00:40 +01:00
a395a90759
Fixed mapping the PG-9021 which, on Linux, emits a button partway through the trigger press along with axis motion all along the pull
Sam Lantinga
2017-01-20 16:40:11 -08:00
8fa0b0889d
Added support for the 8Bitdo Zero GamePad
Sam Lantinga
2017-01-20 08:13:23 -08:00
9b99265a5e
Fixed mingw64 32-bit build, which does have the correct structure definitions
Sam Lantinga
2017-01-19 20:19:37 -08:00
f354024266
Removed unused variable
Sam Lantinga
2017-01-18 12:19:57 -08:00
b0c5ceef7d
Fixed bug 3533 - Enumeration joystick devices omitted during directinput enumeration
Sam Lantinga
2017-01-18 12:18:50 -08:00
dd007e3fe7
Fixed bug 3561 - Re-acquire device before playing effects if needed.
Sam Lantinga
2017-01-18 11:58:16 -08:00
5cb1ca551f
Fixed building with mingw32
Sam Lantinga
2017-01-18 11:57:27 -08:00
3e1679c885
audio: Several fixes to "simple" resampler (thanks, Vitaly!).
Ryan C. Gordon
2017-01-18 02:11:56 -05:00
95defd6620
Use icon width * sizeof(Uint32) instead of icon pitch when copying to icon resource data
Sam Lantinga
2017-01-17 21:18:31 -08:00
5718293092
audio: Implemented SIMD support for audio data type converters.
Ryan C. Gordon
2017-01-16 00:58:28 -05:00
1e66d457d7
audio: Some fixes to the audio data type converter code.
Ryan C. Gordon
2017-01-15 05:01:59 -05:00