Commit Graph

9047 Commits

Author SHA1 Message Date
Jordan Woyak b2acae44b7 Real wiimote continuous scanning working on Linux.
Windows and OS X totally broken from various refactoring.
2013-01-15 21:15:54 -06:00
lioncash ddf23094c2 Fix two unsigned/signed mismatch warnings. 2013-01-15 21:15:31 -05:00
Jordan Woyak 6612763a9a Change audio latency setting to a wxSpinCtrl, fixes layout problem on linux. 2013-01-15 20:04:11 -06:00
lioncash 7d11f8cedd - Made GenRandomCode's 'size' parameter unsigned. Doesn't make sense to have the capability of being able to be negative.
- Made CodesToHeader's 'numCodes' unsigned for the same reason.

- Removed some type-casts from other functions.
2013-01-15 17:50:50 -05:00
Jordan Woyak d9aecd80b1 Real fix for Linux Wiimote disconnect hanging.
Fixes issue 5903.
2013-01-15 15:20:33 -06:00
lioncash 1cf7cbb936 Fix a clear bug in aldlist.cpp.
Properly clears itself now.
2013-01-15 12:47:13 -05:00
lioncash 866cdc5961 Get rid of unused iterators in JitCache. 2013-01-15 12:00:35 -05:00
skidau 7402a89e6e OSX build fix 2013-01-16 00:14:31 +11:00
skidau a9388ce2e2 Added backwards compatibility with old OpenAL drivers. 2013-01-16 00:10:49 +11:00
Glenn Rice e75a7b4572 Fix a gcc initialization order warning. 2013-01-15 06:41:11 -06:00
skidau 799b032b98 Readd the OpenAL option.
The OpenAL backend requires OpenAL Soft to be installed: http://kcat.strangesoft.net/openal.html

You may need to rename soft_oal.dll to OpenAL32.dll in the Dolphin folder.

Windows users may also need to update their OpenAL drivers by downloading them from

http://connect.creativelabs.com/openal/Downloads/oalinst.zip
2013-01-15 23:14:11 +11:00
skidau 0a4272c96b Merge branch 'OpenAL'
* OpenAL:
  Changed SoundTouch to use float samples, allowing SSE to be used. Made the DPL2 decoder disabled by default. Re-added the audio hack used by the Accurate VBeam emulation option.
  Added a latency setting to the audio settings. Removed the Sample Rate setting.  It is now hardcoded to 48000hz (accurate audio timing).
  Skipped timestretching if the emulator is running below 10% speed to prevent buffer overflows.
  Removed the synchronisation between the CPU thread and the audio thread. Added code to detect and resume from buffer underruns. Disabled the ability to change the DPL2 option after the game has started. Fixed a memory leak that occurred in the DPL2 decoder. Fixed the OSX build.
  Build fix
  Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend.  DPL2 audio is decoded to 5.1.  Code adapted from ffdshow. Added an option in the DSP settings to disable the DPL2 decoder in case Dolphin incorrectly detects a 5.1 audio system. Updated the OpenAL files to OpenAL Soft 1.15.1 in the Windows build.
  Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
  Fixed the include directories in Audio Common for the Windows 32bit build.
  Fixed the include directories in Audio Common for the Windows build.
  Messed up the static include line
  Fix include paths and compiling in Linux. Externals soundtouch is 1.7.1, while Ubuntu 12.10 is 1.6.x. Externals soundtouch is compiled with integer samples, while ubuntu is compiled with float samples. Float samples is probably the more common route. If you're going to use soundtouch, you should probably use SAMPLETYPE instead of explicitly choosing short. This probably breaks the windows build since its includes aren't setup.
  OSX: typedef signed char BOOL
  OSX build fix
  Build fix
  Added audio time stretching by using the SoundTouch library.
  Implemented correct audio timing.
  OpenAL for Windows initial commit
2013-01-15 22:40:12 +11:00
skidau 6d4a566bc4 Changed SoundTouch to use float samples, allowing SSE to be used.
Made the DPL2 decoder disabled by default.
Re-added the audio hack used by the Accurate VBeam emulation option.
2013-01-15 22:29:26 +11:00
Matthew Parlane 86ee5600dc Fix bug: reuse after free.
static should not have been used here.
2013-01-15 22:27:49 +13:00
Jordan Woyak 6f17342b50 Improve an error message. 2013-01-14 20:40:16 -06:00
Jordan Woyak b8e66a48a1 Fix hang on Linux Dolphin close when wiimotes are connected. 2013-01-14 17:55:23 -06:00
Jordan Woyak 032013c4bc Make IsValidBluetoothName just check for "Nintendo RVL-" rather than having a bunch of hardcoded names. 2013-01-14 17:49:49 -06:00
lioncash 8cf3ea3eea GetTextureBGRA()'s 'width' and 'height' parameters should be unsigned. 2013-01-14 16:29:52 -05:00
Ryan Houdek 5005d528c4 This changes Linux to control Wiimotes on the interrupt channel. Which in turn allows -TR wiimotes to work in Linux. 2013-01-14 14:43:49 -06:00
Ryan Houdek 30d4259bba This removes the Lock Thread to Core option. Please file your complaints appropriately. 2013-01-14 14:20:41 -06:00
Lioncash 4ea4f2eb45 'width' and 'height' parameters of wxBitmapFromMemoryRGBA should be unsigned.
Not a big deal, but it's good to do it for the sake of maintaining practicalities.
2013-01-13 23:42:18 -05:00
Jordan Woyak 020ab743a9 re-enable PulseAudio backend 2013-01-13 22:22:06 -06:00
Jordan Woyak 13469f2db4 Merge branch 'pulseaudio-simple' 2013-01-13 21:36:26 -06:00
Lioncash 47792b02a5 Fix a small text overlapping issue in the MemcardManager. 2013-01-13 22:28:36 -05:00
kostamarino@hotmail.com 511342edad Gameini database update. 2013-01-14 02:37:32 +02:00
Jordan Woyak 644c8f2713 Enhance an error message.
Fix issue 5893.
2013-01-13 17:52:32 -06:00
Jordan Woyak c00339449a buildfix 2013-01-13 16:27:02 -06:00
Jordan Woyak 3510454a94 Hopeful Windows buildfix (this better not break OS X) 2013-01-13 16:13:38 -06:00
Jordan Woyak d3f8e8e8f3 remove some now-unused resource files 2013-01-13 15:51:44 -06:00
Jordan Woyak 727851c896 Add Boomy theme to Data dir. (not actually boomy right now, just test images) 2013-01-13 15:41:44 -06:00
Jordan Woyak c6e8239fd9 theme selection working now 2013-01-13 15:39:53 -06:00
Jordan Woyak a9ff3709e4 Attempt to make file searching stuff less crappy on Linux.
Supports a * search now.
2013-01-13 15:32:26 -06:00
Jordan Woyak 6f7b11b9be themes directory stuffs 2013-01-13 14:12:19 -06:00
Jordan Woyak 0c95673478 Kill themes in the config and load pngs from "theme" directory for now. 2013-01-13 13:12:50 -06:00
Jordan Woyak 6b3a3ff054 Kill theme selection from GUI. 2013-01-13 13:12:50 -06:00
Jordan Woyak 6b8dc6802b Fix two warnings. 2013-01-13 12:57:17 -06:00
Jordan Woyak 65175a233a Merge branch 'wxw-bind' 2013-01-13 12:54:42 -06:00
Jordan Woyak 70427b3f35 Replace all of Connect/Disconnect with Bind/Unbind. 2013-01-13 12:45:33 -06:00
Jordan Woyak 60a73bcd77 Replace a bunch of Connect calls with Bind. 2013-01-13 11:46:30 -06:00
Jordan Woyak 5dbc3b3219 replace this->Bind with Bind 2013-01-13 03:33:11 -06:00
Jordan Woyak 6e5c26a3d4 kill _connect_macro_ ugliness in BreakpointWindow. 2013-01-13 03:12:29 -06:00
Jordan Woyak eca93c4c19 Eliminate nearly all the _connect_macro_ ugliness by using wxw's newish Bind functions.
Unlike Connect, Bind is quite type-safe.
I also seem to have fixed some errors in the input config dialog.
2013-01-13 03:06:56 -06:00
Pierre Bourdon eb5e7d44bd Enable fastmem (aka. backpatch) support on Linux amd64 and OSX x64. Not tested on OSX, 8% performance increase on Linux amd64 2013-01-13 07:00:56 +01:00
Rachel Bryk 429324a773 Real fix for memcard manager. 2013-01-12 21:18:42 -05:00
Rachel Bryk 6f391a2df0 Set focus on memcard manager after losing it. 2013-01-12 20:47:02 -05:00
NeoBrainX f7b0c8684b BPMemory: Expose more register descriptions for FifoPlayer 2013-01-12 15:25:50 +01:00
skidau 1c462a1eca Added a latency setting to the audio settings.
Removed the Sample Rate setting.  It is now hardcoded to 48000hz (accurate audio timing).

Fixes issue 5672.
2013-01-13 00:05:30 +11:00
Glenn Rice 2cd415dd83 Fix the signed/unsigned comparison warnings created by a recent commit. 2013-01-11 22:00:36 -06:00
Lioncash dcc216a027 'count' parameter for AddStereoSamples and AddStereoSamplesBE in WaveFile should be unsigned. Doesn't make sense to have them signed. 2013-01-11 22:22:55 -05:00
Lioncash dfc0c4b08d Fix two signed/unsigned mismatch warnings.
Also tidied up SDCardUtil - made the variables make more sense (typewise)
2013-01-11 19:38:04 -05:00