ramapcsx2
05f1dca151
Merge pull request #990 from turtleli/windows-fixes
...
Windows: Potential fix for XAudio2.7 unload crashes
2015-12-22 16:56:06 +01:00
Jonathan Li
000f4984cf
spu2-x:windows: Potentially prevent XAudio2.7 unload crashes
...
The extra LoadLibrary call prevents XAudio2.7 from unloading since
LoadLibrary reference counts. See
http://blogs.msdn.com/b/chuckw/archive/2015/10/09/known-issues-xaudio-2-7.aspx
Should fix random XAudio2 crashes.
2015-12-20 20:08:20 +00:00
ramapcsx2
43b9caf735
GSdx: default renderer to DX11 hw. SPU2-X: default output module to xaudio2 (portaudio has issues selecting the proper hardware device)
2015-12-20 14:46:59 +01:00
Akash
004ef3d451
SPU2-X: prevent signed/unsigned comparisons
2015-11-20 21:17:05 +05:30
Akash
f90eeb7861
SPU2-X: handling text during restore defautls
...
Previously the sound touch configure caption box will still have the outdated value of the sliders when using the restore defaults function, update the caption text also during restore defaults. ( use the first slider value for caption since that lies closer to the restore default box )
2015-11-20 21:17:04 +05:30
Gregory Hainaut
2a0cd77eef
spu2x: avoid 64 bits compilation issue
...
Reported by 3kinox
Solution given by unknownbrackets
2015-11-13 18:48:03 +01:00
Gregory Hainaut
6180515212
spu2x: sign compare
2015-11-12 12:10:49 +01:00
Jonathan Li
44d89308c9
Revert "Revert "gsdx|spu2-x: Use atlcomcli.h for CComPtr definition""
...
This reverts commit 9bb990e9ed
.
Fight! Ahem...
2015-11-09 20:55:07 +00:00
Jonathan Li
9bb990e9ed
Revert "gsdx|spu2-x: Use atlcomcli.h for CComPtr definition"
...
This reverts commit 0eb771c2a6
.
The buildbot apparently cannot find atlcomcli.h. Oh joy.
2015-11-08 20:46:41 +00:00
refractionpcsx2
545e47aacc
Merge pull request #960 from ssakash/SPU2-Xconlog
...
SPU2-X: Update Console log to display Delay Cycles from the INI
2015-11-08 14:31:15 +00:00
Jonathan Li
49ff324882
Merge pull request #955 from turtleli/replace-comptr-h
...
gsdx|spu2-x: Use atlcomcli.h for CComPtr definition
2015-11-08 13:27:28 +00:00
Akash
a45f3ac5d6
SPU2-X: Handle INI changes to variable on Conlog
2015-11-08 10:47:03 +05:30
refractionpcsx2
8ed56bd971
Merge pull request #953 from ssakash/SPU2-X_debug
...
SPU2-X: New INI variable for cycle delay
-Configurable for Higurashi no Naku Koro ni Matsuri Kakera Asobi (SPLM-66913)
2015-11-07 16:54:54 +00:00
Akash
ff77708e0e
SPU2-X: New INI variable for cycle delay
2015-11-07 20:16:23 +05:30
Jonathan Li
0eb771c2a6
gsdx|spu2-x: Use atlcomcli.h for CComPtr definition
...
VS2013/VS2015 community includes it, so everything will still compile
for everyone.
Also delete common/include/comptr.h.
2015-11-06 18:52:33 +00:00
Gregory Hainaut
d0ea904cdf
spu2x: remove hyperlink in windows about box
...
Code isn't free (and kinda useless)
2015-11-04 07:43:00 +01:00
Gregory Hainaut
c3d8cc0978
Merge pull request #897 from PCSX2/coverity-spu2x-mixer
...
spu2x: correctly apply the volume to the external source
2015-10-31 20:10:43 +01:00
Jonathan Li
e31cb8cbcd
spu2x-sdl: restore WX2.8 build compilation
...
Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
2015-10-31 11:06:15 +01:00
Gregory Hainaut
66259dee17
spu2x-sdl: always use 16 bit formats
...
32 bits range is too big and requires to maximize the volume.
2015-10-30 17:38:12 +01:00
Gregory Hainaut
2a68c3585c
spu2x-sdl: fiddle with SDL to init the selected API
...
Note: SDL_Init is mandatory oterwise SDL_OpenAudio will redo the init.
So the only sane way is to initialize pulseaudio, close everything, and finally
init the requested driver.
V2:
* ifdef SDL2 code
V3:
* use std::string for m_api (avoid issue issue with wx2.8)
* call the good function to properly close subsystem avoid crashes
2015-10-30 17:37:25 +01:00
Gregory Hainaut
84c6455c95
spu2x-sdl: add a gui setting to select the API
...
The purpose is to workaround bug with default API
Code is not ideal because SDL/gui are mixed. But it would be enough
for future release.
V2: ifdef SDL2 code
2015-10-30 17:13:45 +01:00
Gregory Hainaut
50e6306331
Merge pull request #919 from ssakash/coverity_init
...
Coverity: Initialize class members
2015-10-25 20:08:46 +01:00
Akash
e4490694f1
SPU2-X: Initialize all class members
...
CID 147033 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)16. uninit_member: Non-static class member ActualPaCallback is not initialized in this constructor nor in any functions that it calls.
2015-10-25 14:11:44 +05:30
ramapcsx2
79075282e5
Merge pull request #922 from ssakash/spu2-x_realtime
...
SPU2-X: Fix a "Fixme" part of the code.
2015-10-24 16:33:36 +02:00
Akash
5d13dfee25
SPU2-X: Remove a logically impossible break
...
* the break doesn't get used since HANDLE_CHECK consists of a break on the function itself.
* removed an outdated comment since realtime update of configure has been done.
2015-10-24 19:48:52 +05:30
Akash
0cc4287b59
SPU2-X: Realtime update for soundtouch configure
...
previously the soundtouch configure box required a total exit of the dialog to get the configure box value updated , now it's made to be done in an instant.
2015-10-24 19:34:24 +05:30
Gregory Hainaut
e8fdd99962
spu2x-sdl: keep only C++11 code path
...
Linux supports C++11 completely.
2015-10-24 14:14:37 +02:00
Gregory Hainaut
b6d9ea86ee
spu2x-sdl: memset the stream buffer in SDL2
...
Fix #382
2015-10-21 22:13:29 +02:00
Gregory Hainaut
53c38ef2cc
spu2-sdl: move the ifdef to support automatic indentation
2015-10-21 20:54:09 +02:00
Gregory Hainaut
96bf714d85
spu2x-sdl: unique_ptr is always supported
...
So let's drop various ifdef
2015-10-21 20:36:07 +02:00
Jonathan Li
7fac189ab3
spu2-x:linux: Fix potential null deference
...
Coverity CID 146911: Dereference before null check (REVERSE_INULL)
2015-10-18 14:01:27 +01:00
Gregory Hainaut
096e5e1fef
spu2x: correctly apply the volume to the external source
...
CID 147046 (#1 of 1): Useless call (USELESS_CALL)
side_effect_free: Calling ApplyVolume(Ext, Cores[1].ExtVol) is only useful for its return value, which is ignored.
2015-10-16 23:17:07 +02:00
Jonathan Li
4208267966
gsdx|spu2-x:windows: Scale GUI logo with DPI
...
The SS_REALSIZECONTROL style resizes image to fit the control window, so
let's use that.
2015-09-21 20:45:50 +01:00
Miguel A. Colón Vélez
c97c4f878a
Update pthreads project.
...
- Add x64
- Use static library
2015-08-25 09:53:00 -04:00
Miguel A. Colón Vélez
09c8a41294
Update SoundTouch to 1.9.0.
...
It claimed to be 1.7.1 but it had a mixture from various
versions. It was hard to update as everything in the top directory
so I used upstream's way to organize files. I renamed include to
soundtouch since I did not want to #ifdef that for windows.
.
Wavfile.h is a private header so I used the private path instead of
moving the file over. This changed 3 files in the plugin folder.
2015-08-22 10:16:27 -04:00
Miguel A. Colón Vélez
a1de0614d7
Remove vs2012 files.
...
It does not support several things from C99/C++11 that are
used in the project.
2015-08-18 01:15:51 -04:00
Miguel A. Colón Vélez
a1e56518a5
Rename inside the files.
2015-08-18 00:44:49 -04:00
Miguel A. Colón Vélez
277217353e
Rename files.
2015-08-18 00:44:35 -04:00
Miguel A. Colón Vélez
1fe5aceded
Enable round-tripping.
...
- Remove ToolsVersion
- Use $(DefaultPlatformToolset)_xp until XP support is dropped.
Note: opencl had no XP support and was not enabled in VS2012.
2015-08-18 00:44:19 -04:00
Gregory Hainaut
0e783f0003
Merge pull request #750 from nE0sIghT/feature/deoptimize
...
Use global compiler optimization flags instead of defining them for every plugin/binary
2015-08-08 16:42:12 +02:00
nE0sIghT
e1272dc2f9
Use global compiler optimization flags instead of defining them for every plugin/binary
2015-08-08 16:25:17 +03:00
Miguel A. Colón Vélez
0e533e1630
Fix Unicode issues in SPU2-X with PortAudio.
2015-08-07 15:51:54 -04:00
Miguel A. Colón Vélez
6462393aaf
Introduce end-of-line normalization
...
Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
2015-08-04 23:52:48 +02:00
Gregory Hainaut
7aa36133de
Merge pull request #657 from turtleli/wxwidgets3_switch
...
Windows: switch to wxWidgets 3.0
2015-07-29 14:16:02 +02:00
Jonathan Li
25b9b24f77
spu2-x: windows: Fix incorrect use of scanf
...
Half width specifiers were not used, so scanf was writing ints into
bytes.
Note: Visual Studio 2013 doesn't support the hh format specifier.
2015-07-23 19:01:15 +01:00
Jonathan Li
150c53af0f
spu2-x: windows: Remove Unicode to Ascii conversion
...
Use swscanf instead of sscanf to read wide characters directly
2015-07-23 18:58:24 +01:00
Jonathan Li
db6a32ac33
windows: switch to wxWidgets 3.0
...
This replaces wxWidgets 2.8 with wxWidgets 3.0 plus all the necessary
include/referencing to get PCSX2 to compile.
VS2012 change is untested.
2015-07-13 21:19:12 +01:00
Jonathan Li
283d4fa57c
Use wc_str for Windows only code
...
This fixes the build for wxWidgets 3.0. The paths are Windows specific,
so c_str and WX_STR already evaluate to a wide string in wxWidgets 2.8.
2015-06-19 22:14:47 +01:00
Gregory Hainaut
ba5b367ae8
drop support of Visual Studio 2010
...
* Severals PR uses C++11 features
* 2015 will soon be released
* Win 10 will soon be released
Time to upgrade
2015-06-04 08:55:22 +02:00
Gregory Hainaut
c456764342
spu2x: declare exported function as stdcall
...
* Fix a stack buffer overflow on address sanitizer
* Might explain an old clang crash
2015-04-17 18:24:23 +02:00