dolphin/Source/Core/Common/Src
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
..
Crypto Some more work on CMake on Windows: 2011-01-09 16:36:19 +00:00
ABI.cpp fix for stack corruption caused by certain DSP LLE JIT ABI calls. 2012-01-07 20:46:41 -08:00
ABI.h
Atomic.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
Atomic_GCC.h Core/DSPCore: Improve Interpreter address register add/sub, convert to 2010-12-27 15:05:18 +00:00
Atomic_Win32.h fixed xfb bumping introduced by my last commit. 2010-04-14 13:57:16 +00:00
BreakPoints.cpp Fix incorrect iterator usage in BreakPoints::Clear 2013-01-08 15:02:50 -06:00
BreakPoints.h Sped up the Dolphin debugger in JIT mode by splitting a block only while stepping or when it contains a breakpoint. The block is invalidated when a breakpoint is set or cleared. 2012-03-15 21:48:19 +11:00
CDUtils.cpp Badaboom. Add in Memory include to CDUtils.cpp 2012-10-30 02:45:42 +00:00
CDUtils.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
ChunkFile.h Revert "Very tiny cleanup of ChunkFile.h." 2013-01-10 17:41:12 -06:00
ColorUtil.cpp revert changes to banner background color 2012-12-16 15:29:25 -08:00
ColorUtil.h
Common.h OpenAL for Windows initial commit 2013-01-07 12:16:04 +11:00
CommonFuncs.h Fix compilation with g++ 4.7 and some warnings. Fixes issue 5347. 2012-04-07 15:45:32 -05:00
CommonPaths.h Adds the Wii Korean settings file. It was handled in the wii-network branch in rev c42a6f156e. Master handles the settings files differently. Until wii-network merges in to master, this closes issue 5642. 2012-12-14 11:37:26 -06:00
CommonTypes.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
ConsoleListener.cpp Support ANSI color codes in the console logger for Linux/Mac 2012-06-19 12:11:15 +02:00
ConsoleListener.h Support ANSI color codes in the console logger for Linux/Mac 2012-06-19 12:11:15 +02:00
CPUDetect.cpp Clean up gcc/g++ compiler warnings that have accumulated. 2012-12-10 00:40:28 -06:00
CPUDetect.h * Changed the Projection Hack option in game properties to "Custom Projection Hack" 2011-01-29 21:13:56 +00:00
DebugInterface.h Function definition was not updated. 2012-12-24 00:00:25 +13:00
ExtendedTrace.cpp dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
ExtendedTrace.h dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
FifoQueue.h New Wiimote Plugin: Added a "Hybrid Wiimote" input source type. This allows a real wiimote to be used with an emulated extension.(and in the future, real wiimote with emulated motion plus) If the emulated extension is set to "None", a real extension can be used. Real/Emulated buttons are combined. Real acceleration data is used. Currently, emulated IR data is used.(might change this to allow both) Switching between an emulated and a real extension in-game is a bit testy right now, but if you switch the emu-extension to "None" before connecting a real extension, it usually works. 2010-08-10 04:12:32 +00:00
FileSearch.cpp Add a hack to match the *.* wildcard in a file search on non windows platforms. This fixes Metroid Other M on linux, and probably other games. Fixes issue 3966. 2011-01-22 18:19:42 +00:00
FileSearch.h Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileUtil.cpp Always use the right user dir on windows. 2012-12-26 19:55:45 -05:00
FileUtil.h Added a button to dump the FakeVMEM from the memory debugger if the game uses it 2012-06-19 13:51:29 +02:00
FixedSizeQueue.h
Hash.cpp Improvement to revision b8bef29bcc .. :P 2012-02-25 10:59:00 +01:00
Hash.h Changes to hi-res textures. Textures now load correctly when loading/saving a savestate, and can be toggled on and off in game. 2011-02-05 10:08:06 +00:00
IniFile.cpp Add comment here so people know what's up. 2012-02-28 00:27:16 -06:00
IniFile.h Add per-game "configuration profiles" for video backend configuration: 2011-02-13 22:36:12 +00:00
LinearDiskCache.h PixelShaderGen: Shader uid maintainance 2013-01-08 18:56:01 +01:00
Log.h Use do { ... } while (0) for the *_LOG macros 2012-08-20 13:12:49 +02:00
LogManager.cpp added an option to log to the attached Windows debugger (so e.g. NOTICE_LOG messages can show up in Visual Studio's output window) 2012-01-07 23:04:18 -08:00
LogManager.h added an option to log to the attached Windows debugger (so e.g. NOTICE_LOG messages can show up in Visual Studio's output window) 2012-01-07 23:04:18 -08:00
MathUtil.cpp some code cleanup i have left in my folder :) 2011-05-25 18:14:29 +00:00
MathUtil.h Revert 30dd9c2 e9d00bf db5f4c8 and bff0fae 2013-01-07 13:47:34 -06:00
MemArena.cpp This changes a mmap in MemArena so you don't need 786MB of memory free to actually allocate the 1GB memory space in Linux 32bit. I was also running in to this issue in my development. Kudos to plbl4ster to actually taking the time to research this. Closes issue 5625. 2012-09-23 10:08:13 -05:00
MemArena.h fixes issue 5507 2012-07-11 20:54:50 -07:00
MemoryUtil.cpp fix Common lib re-linking all the time 2012-03-18 05:47:55 -07:00
MemoryUtil.h added the possibility to allocate aligned memory, an use it to allocate the buffer utilized in texture decoding, this will make a little easy to use aligned writes when possible in sse2/3 optimized algorithms. 2011-02-25 20:35:05 +00:00
Misc.cpp Hack Misc.cpp into building on OS X. 2011-03-16 22:58:24 +00:00
MsgHandler.cpp Improve the shader UID debugging stuff and merge it to VideoCommon, effectively enabling it in D3D9 and D3D11 as well. 2011-09-09 00:32:04 +02:00
MsgHandler.h Oops. Forgot to add the CriticalAlert definitions for windows. 2011-07-15 16:50:54 +00:00
NandPaths.cpp NAND:Consolidate Wad/Directory loading in CNANDContentLoader to one function 2011-05-09 05:47:29 +00:00
NandPaths.h NAND:Consolidate Wad/Directory loading in CNANDContentLoader to one function 2011-05-09 05:47:29 +00:00
SDCardUtil.cpp Fix two signed/unsigned mismatch warnings. 2013-01-11 19:38:04 -05:00
SDCardUtil.h Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases. 2011-02-28 20:40:15 +00:00
stdafx.cpp
stdafx.h
StdConditionVariable.h problem: TryAcquireSRWLockExclusive requires Windows 7 :/. solution kinda: use std::recursive_mutex (CriticalSection on windows) where try_lock is used. Dolphin should work on Vista x64 again. 2011-03-07 00:16:38 +00:00
StdMutex.h Fix a currently unused unique_lock function. Thanks to Lioncash. 2013-01-08 16:50:09 -06:00
StdThread.h Merge branch 'misc-speedups' 2012-05-26 12:35:08 +10:00
StringUtil.cpp Reset errno to zero before testing it after the strtoul call. Fixes issue 5078. 2011-12-29 12:05:36 +11:00
StringUtil.h Added an option for opening up the wiki entry in the compatibility list. The option is in the right click menu of the games list. The game entries in the wiki are currently manually added by the administrator. 2011-02-25 23:33:11 +00:00
SymbolDB.cpp Cast size_t to unsigned long for printf to deal with (32-bit) 2010-12-05 18:22:41 +00:00
SymbolDB.h
SysConf.cpp Fix some minor bugs pointed out by PVS Studio (thanks!) 2012-03-03 20:07:20 +01:00
SysConf.h sysconf SetArayData use the minimum of the buffersize or the dataLength 2012-02-01 00:04:18 -08:00
Thread.cpp what is this even... 2012-11-26 02:11:52 -05:00
Thread.h fixed an issue where the CPU sometimes single-steps an extra time after pausing 2012-01-04 01:33:38 -08:00
Thunk.cpp keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Thunk.h keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Timer.cpp Remove more unused code. 2012-11-26 03:48:04 -05:00
Timer.h Remove more unused code. 2012-11-26 03:48:04 -05:00
Version.cpp fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey 2011-10-01 21:31:43 -05:00
VideoBackendBase.cpp Merge branch 'GLES-software' 2012-12-26 12:54:58 -06:00
VideoBackendBase.h revert last commit, add CheckInvalidState to VideoBackend 2012-12-23 13:32:23 +01:00
x64Analyzer.cpp Clean up gcc/g++ compiler warnings that have accumulated. 2012-12-10 00:40:28 -06:00
x64Analyzer.h
x64Emitter.cpp In memory of calc84. 2012-12-30 16:31:38 +13:00
x64Emitter.h Added SHRD/SHLD x86 emitters, further optimized srawx 2012-01-09 00:10:13 -05:00